NSURL(RKAdditions) Category Reference
Declared in | NSURL+RKAdditions.h NSURL+RKAdditions.m |
Tasks
-
– queryParameters
Returns the query portion of the URL as a dictionary
-
– MIMETypeForPathExtension
Returns the MIME Type for the resource identified by the URL by interpretting the path extension using Core Services.
Instance Methods
MIMETypeForPathExtension
Returns the MIME Type for the resource identified by the URL by interpretting the path extension using Core Services.
- (NSString *)MIMETypeForPathExtension
Return Value
The expected MIME Type of the resource identified by the URL or nil if unknown
Discussion
For example, given a URL to http://restkit.org/monkey.json we would get @“application/json” as the MIME Type.
Declared In
NSURL+RKAdditions.h