Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 253338 Details for
Bug 422210
Wrong content type header provided on diff saves
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
UNTESTED FIX
diff_header.patch (text/plain), 714 bytes, created by
Mark Macdonald
on 2015-05-08 10:05:52 EDT
(
hide
)
Description:
UNTESTED FIX
Filename:
MIME Type:
Creator:
Mark Macdonald
Created:
2015-05-08 10:05:52 EDT
Size:
714 bytes
patch
obsolete
>diff --git a/bundles/org.eclipse.orion.client.ui/web/plugins/filePlugin/fileImpl.js b/bundles/org.eclipse.orion.client.ui/web/plugins/filePlugin/fileImpl.js >index a684252..b73d6ee 100644 >--- a/bundles/org.eclipse.orion.client.ui/web/plugins/filePlugin/fileImpl.js >+++ b/bundles/org.eclipse.orion.client.ui/web/plugins/filePlugin/fileImpl.js >@@ -494,7 +494,8 @@ > options.data = null; > } else if (contents.diff) { > method = "POST"; >- headerData["X-HTTP-Method-Override"] = "PATCH"; >+ headerData["X-HTTP-Method-Override"] = "PATCH"; >+ headerData["Content-Type"] = "application/json"; > options.data = JSON.stringify(options.data); > } else { > // assume we are putting metadata
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 422210
: 253338