mirror of
				https://github.com/owncloud/android-library.git
				synced 2025-10-31 10:27:45 +00:00 
			
		
		
		
	Changes for handling HTTP_METHOD_NOT_FOUND responses
This commit is contained in:
		
							parent
							
								
									f6471b66ca
								
							
						
					
					
						commit
						69c7a24ebb
					
				| @ -274,6 +274,11 @@ public class RemoteOperationResult<T extends Object> | |||||||
|                         ResultCode.SPECIFIC_SERVICE_UNAVAILABLE |                         ResultCode.SPECIFIC_SERVICE_UNAVAILABLE | ||||||
|                 ); |                 ); | ||||||
|                 break; |                 break; | ||||||
|  |             case HttpConstants.HTTP_METHOD_NOT_ALLOWED: | ||||||
|  |                 parseErrorMessageAndSetCode( | ||||||
|  |                         httpMethod.getResponseBodyAsString(), | ||||||
|  |                         ResultCode.SPECIFIC_SERVICE_UNAVAILABLE | ||||||
|  |                 ); | ||||||
|             default: |             default: | ||||||
|                 break; |                 break; | ||||||
|         } |         } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user