HTTPHeaderParseCookie Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
HTTPHeaderParseCookie Function
C
static void HTTPHeaderParseCookie();
Description

Parses the "Cookie:" headers for a request. For example, "Cookie: name=Wile+E.+Coyote; order=ROCKET_LAUNCHER" is decoded to "name=Wile+E.+Coyote&order=ROCKET_LAUNCHER&" and stored as any other GET variable in curHTTP.data. 

The user application can easily access these values later using the HTTPGetArg() and HTTPGetROMArg() functions.

Preconditions

None

Returns

None

Remarks

This function is ony available when HTTP_USE_COOKIES is defined.

Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.