Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block iosdeveloper

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
iosdeveloper / MBDictionary
Created Aug 5, 2011
NSDictionary category which sends a HEAD request and returns the header fields as dictionary
View MBDictionary
@interface NSDictionary (MBDictionary)
+ (id)dictionaryWithHeadOfURL:(NSURL *)inURL;
@implementation NSDictionary (MBDictionary)
+ (id)dictionaryWithHeadOfURL:(NSURL *)inURL {
NSDictionary *theResult = nil;
You can’t perform that action at this time.