Skip to content

Commit c3139f3

Browse files
committed
post
1 parent f8b6158 commit c3139f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iLcatraz/HTTPConnectionIL.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ - (BOOL)expectsRequestBodyFromMethod:(NSString *)method atPath:(NSString *)path
271271

272272
- (BOOL)supportsMethod:(NSString *)method atPath:(NSString *)path
273273
{
274-
if ([method isEqualToString:@"PATCH"] && [path rangeOfString:@"/media/tracks/"].location == 0)
274+
if (([method isEqualToString:@"PATCH"] || [method isEqualToString:@"POST"])&& [path rangeOfString:@"/media/tracks/"].location == 0)
275275
return YES;
276276
return [super supportsMethod:method atPath:path];
277277
}

0 commit comments

Comments
 (0)