File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Pod::Spec.new do |s|
16
16
#
17
17
18
18
s . name = "OAuth.io"
19
- s . version = "1.1.1 "
19
+ s . version = "1.1.2 "
20
20
s . summary = "OAuth that just works!"
21
21
22
22
s . description = <<-DESC
Original file line number Diff line number Diff line change @@ -351,7 +351,6 @@ - (NSString *)buildHeaderWithDictionnary:(NSDictionary *)params
351
351
}
352
352
}
353
353
}
354
-
355
354
return (query);
356
355
}
357
356
@@ -362,8 +361,9 @@ - (NSData *)buildPostParams:(id)params
362
361
{
363
362
if (_contentType != nil )
364
363
postData = [[self formatFromContentType: params] dataUsingEncoding: NSUTF8StringEncoding];
365
- else
366
- postData = [[OAuthIORequest encodeURL: [self buildQueryWithDictionnary: params]] dataUsingEncoding: NSUTF8StringEncoding];
364
+ else {
365
+ postData = [[self buildQueryWithDictionnary: params] dataUsingEncoding: NSUTF8StringEncoding];
366
+ }
367
367
}
368
368
else if ([params isKindOfClass: [NSString class ]])
369
369
postData = [params dataUsingEncoding: NSUTF8StringEncoding];
@@ -372,7 +372,8 @@ - (NSData *)buildPostParams:(id)params
372
372
373
373
NSString *contentLength = [NSString stringWithFormat: @" %lu " , (unsigned long )[postData length ]];
374
374
[self addHeaderWithKey: @" Content-Length" andValue: contentLength];
375
-
375
+
376
+
376
377
return (postData);
377
378
}
378
379
You can’t perform that action at this time.
0 commit comments