# NSArray (CurlHTTPExtensions)

> Declared In:
>   CURLHandle.h

## Category Description

This category on NSArray adds methods for header and cookie access.

## Method Types

>   - parsedCookies

## Instance Methods

### parsedCookies

`- (NSDictionary *)parsedCookies`

Parse the array of cookie lines, turning it into a dictionary of key/values (suitable for passing to setRequestCookies:).

For instance, this will turn

( "B=96lr6csucjt99&b=2; expires=Thu, 15 Apr 2010 20:00:00 GMT; path=/; domain=.yahoo.com"; )

into

{ B = { value = "96lr6csucjt99&b=2"; expires = "Thu, 15 Apr 2010 20:00:00 GMT"; path = "/"; domain = ".yahoo.com"; } }