Parse web request(COOKIE/GET/POST) query into name and value fairs then store into the Q_ENTRY structure.
- Parameters:
-
| request | if request is a NULL pointer, the function allocates, initializes, and returns a new object. but if you called qCgiParseRequestOption() to set options, pass it's pointer. |
- Returns:
- Q_ENTRY* handle if successful, NULL if there was insufficient memory to allocate a new object.
- Note:
- The parsing sequence is (1)COOKIE, (2)GET (3)POST. Thus if same query names (which are sent by different method) exist, qGetValue() will return the value sent by GET method.
Definition at line 237 of file qCgiRequest.c.