Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 637c59eb authored by davigonz's avatar davigonz Committed by AndyScherzinger
Browse files

Add line breaks

parent 8ad29fd5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -153,10 +153,12 @@ public class UploadRemoteFileOperation extends RemoteOperation {
				mPutMethod.addRequestHeader(IF_MATCH_HEADER, "\"" + mRequiredEtag + "\"");
			}
			mPutMethod.addRequestHeader(OC_TOTAL_LENGTH_HEADER, String.valueOf(f.length()));

            // Tell to the server what is the last modification date of the file to upload
            Long timeStampLong = System.currentTimeMillis()/1000;
            String timeStamp = timeStampLong.toString();
            mPutMethod.addRequestHeader(OC_X_OC_MTIME_HEADER, timeStamp);
			
			mPutMethod.setRequestEntity(mEntity);
			status = client.executeMethod(mPutMethod);