mirror of
				https://github.com/owncloud/android-library.git
				synced 2025-10-31 02:17:41 +00:00 
			
		
		
		
	Fix av. offline files are neither uploaded nor conflicted
This commit is contained in:
		
							parent
							
								
									4c9b63bded
								
							
						
					
					
						commit
						44372f211c
					
				| @ -132,7 +132,7 @@ public class UploadRemoteFileOperation extends RemoteOperation { | ||||
|         } | ||||
| 
 | ||||
|         if (mRequiredEtag != null && mRequiredEtag.length() > 0) { | ||||
|             mPutMethod.addRequestHeader(HttpConstants.IF_MATCH_HEADER, "\"" + mRequiredEtag + "\""); | ||||
|             mPutMethod.addRequestHeader(HttpConstants.IF_MATCH_HEADER, mRequiredEtag); | ||||
|         } | ||||
| 
 | ||||
|         mPutMethod.addRequestHeader(HttpConstants.OC_TOTAL_LENGTH_HEADER, String.valueOf(fileToUpload.length())); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user