Skip to content
Browse files

Fixed warnings and turned of header authentication

  • Loading branch information...
1 parent f886cf9 commit e37c1534509ec818fe440402fd0a52238375c0df Marcus S. Zarra committed with alexrepty Jun 10, 2010
Showing with 4 additions and 4 deletions.
  1. +4 −4 MGTwitterEngine.m
View
8 MGTwitterEngine.m
@@ -99,6 +99,7 @@ - (NSString *)_dateToHTTP:(NSDate *)date;
- (NSString *)_encodeString:(NSString *)string;
// Connection/Request methods
+- (NSString*)_sendRequest:(NSURLRequest *)theRequest withRequestType:(MGTwitterRequestType)requestType responseType:(MGTwitterResponseType)responseType;
- (NSString *)_sendRequestWithMethod:(NSString *)method
path:(NSString *)path
queryParameters:(NSDictionary *)params
@@ -458,7 +459,7 @@ - (NSString *)getImageAtURL:(NSString *)urlString
#pragma mark Request sending methods
-#define SET_AUTHORIZATION_IN_HEADER 1
+#define SET_AUTHORIZATION_IN_HEADER 0
- (NSString *)_sendRequestWithMethod:(NSString *)method
path:(NSString *)path
@@ -502,9 +503,8 @@ - (NSString *)_sendRequestWithMethod:(NSString *)method
return [self _sendRequest:theRequest withRequestType:requestType responseType:responseType];
}
--(NSString *)_sendRequest:(NSURLRequest *)theRequest
- withRequestType:(MGTwitterRequestType)requestType
- responseType:(MGTwitterResponseType)responseType{
+-(NSString*)_sendRequest:(NSURLRequest *)theRequest withRequestType:(MGTwitterRequestType)requestType responseType:(MGTwitterResponseType)responseType;
+{
// Create a connection using this request, with the default timeout and caching policy,
// and appropriate Twitter request and response types for parsing and error reporting.

0 comments on commit e37c153

Please sign in to comment.
Something went wrong with that request. Please try again.