Oxygen HTTP PUT fails to send Content-type
Posted: Thu Apr 19, 2012 9:15 pm
I have been testing a PUT request from Oxygen to a Ruby on Rails website, and have noticed that a Content-type:text/xml (or application/xml) is required, but there is no such HTTP header sent from Oxygen. I have tested this manually with curl and had good results, and notice that Oxygen's advanced HTTP settings do specify sending this header. Is there some way to guarantee a request is sent with a header?
Here's what I captured from wireshark:
PUT /admin/master_files/3.xml HTTP/1.1
User-Agent: Oxygen XML Editor/13.2
Expect: 100-continue
Content-Length: 1342
Authorization: Basic YWRtaW5AZXhhbXBsZS5jb206cGFzc3dvcmQ=
Host: {hostname}
(Oxygen 13.2 build 2012011017 on Mac OS 10.7.3)
Here's what I captured from wireshark:
PUT /admin/master_files/3.xml HTTP/1.1
User-Agent: Oxygen XML Editor/13.2
Expect: 100-continue
Content-Length: 1342
Authorization: Basic YWRtaW5AZXhhbXBsZS5jb206cGFzc3dvcmQ=
Host: {hostname}
(Oxygen 13.2 build 2012011017 on Mac OS 10.7.3)