Skip to content

Commit

Permalink
post
Browse files Browse the repository at this point in the history
  • Loading branch information
chamspan committed May 13, 2015
1 parent f8b6158 commit c3139f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iLcatraz/HTTPConnectionIL.m
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ - (BOOL)expectsRequestBodyFromMethod:(NSString *)method atPath:(NSString *)path

- (BOOL)supportsMethod:(NSString *)method atPath:(NSString *)path
{
if ([method isEqualToString:@"PATCH"] && [path rangeOfString:@"/media/tracks/"].location == 0)
if (([method isEqualToString:@"PATCH"] || [method isEqualToString:@"POST"])&& [path rangeOfString:@"/media/tracks/"].location == 0)
return YES;
return [super supportsMethod:method atPath:path];
}
Expand Down

0 comments on commit c3139f3

Please sign in to comment.