Instance Property

mainDocumentURL

The main document URL associated with the request.

Declaration

@property(readonly, copy) NSURL *mainDocumentURL;

Discussion

This URL is used for the cookie “same domain as main document” policy.

See Also

Accessing Request Components

HTTPMethod

The HTTP request method.

URL

The URL being requested.

HTTPBody

The request body.

HTTPBodyStream

The request body as an input stream.