From c3139f3b0fe89799fc6d04291e25d22f752ce427 Mon Sep 17 00:00:00 2001 From: Sergey Dolin Date: Wed, 13 May 2015 13:11:00 +0500 Subject: [PATCH] post --- iLcatraz/HTTPConnectionIL.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; }