Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Minor formatting

  • Loading branch information...
commit dbd74eb1fe57f60ba87aa9d829190327dc5b28de 1 parent b7e628a
Mattt Thompson authored May 06, 2013

Showing 1 changed file with 7 additions and 7 deletions. Show diff stats Hide diff stats

  1. 14  AFOAuth1Client/AFOAuth1Client.m
14  AFOAuth1Client/AFOAuth1Client.m
@@ -359,15 +359,15 @@ - (NSMutableURLRequest *)requestWithMethod:(NSString *)method
359 359
                                       path:(NSString *)path
360 360
                                 parameters:(NSDictionary *)parameters
361 361
 {
362  
-    NSMutableDictionary *requestParameters = [parameters mutableCopy];
363  
-    for (NSString* parameterName in parameters) {
364  
-        if ([parameterName hasPrefix:@"oauth_"]) {
365  
-            [requestParameters removeObjectForKey:parameterName];
  362
+    NSMutableDictionary *mutableParameters = [parameters mutableCopy];
  363
+    for (NSString *key in parameters) {
  364
+        if ([key hasPrefix:@"oauth_"]) {
  365
+            [mutableParameters removeObjectForKey:key];
366 366
         }
367 367
     }
368  
-    
369  
-    NSMutableURLRequest *request = [super requestWithMethod:method path:path parameters:requestParameters];
370  
-    
  368
+
  369
+    NSMutableURLRequest *request = [super requestWithMethod:method path:path parameters:mutableParameters];
  370
+
371 371
     [request setValue:[self authorizationHeaderForMethod:method path:path parameters:parameters] forHTTPHeaderField:@"Authorization"];
372 372
     [request setHTTPShouldHandleCookies:NO];
373 373
     

0 notes on commit dbd74eb

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