diff --git a/iLcatraz/HTTPConnectionIL.m b/iLcatraz/HTTPConnectionIL.m index 6569773..8bc93b2 100644 --- a/iLcatraz/HTTPConnectionIL.m +++ b/iLcatraz/HTTPConnectionIL.m @@ -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]; }