Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 422210
Collapse All | Expand All

(-)a/bundles/org.eclipse.orion.client.ui/web/plugins/filePlugin/fileImpl.js (-1 / +2 lines)
Lines 494-500 Link Here
494
					options.data = null;
494
					options.data = null;
495
				} else if (contents.diff) {
495
				} else if (contents.diff) {
496
					method = "POST";
496
					method = "POST";
497
					headerData["X-HTTP-Method-Override"] = "PATCH";
497
						headerData["X-HTTP-Method-Override"] = "PATCH";
498
						headerData["Content-Type"] = "application/json";
498
					options.data = JSON.stringify(options.data);
499
					options.data = JSON.stringify(options.data);
499
				} else {
500
				} else {
500
					// assume we are putting metadata
501
					// assume we are putting metadata

Return to bug 422210