RESOLVED WORKSFORME 24845
[SOUP] XMLHttpRequest POST with empty data should send a Content-Length header
https://bugs.webkit.org/show_bug.cgi?id=24845
Summary [SOUP] XMLHttpRequest POST with empty data should send a Content-Length header
Georg Nagel
Reported 2009-03-26 12:11:10 PDT
if you do a xmlHttpObj.open('POST', 'url', true); xmlHttpObj.send(''); you getting "411: Length required"
Attachments
testcase (849 bytes, text/html)
2009-03-26 12:12 PDT, Georg Nagel
no flags
no 404 in testcase (814 bytes, text/html)
2009-03-26 12:15 PDT, Georg Nagel
no flags
Georg Nagel
Comment 1 2009-03-26 12:12:29 PDT
Created attachment 28975 [details] testcase
Georg Nagel
Comment 2 2009-03-26 12:15:47 PDT
Created attachment 28976 [details] no 404 in testcase
Georg Nagel
Comment 3 2009-03-26 12:23:19 PDT
okey it seems this happens only in conjunction with lighttpd. But it seems the "Content-Length" header isnt send in "GtkLauncher" or midori
Alexander Butenko
Comment 4 2009-06-22 19:57:27 PDT
seems fixed in libsoup 2.27.2 in this commit: http://git.gnome.org/cgit/libsoup/commit/?id=74e7c3b0d2201058060233ce2d99860a1c43c646 Can u confirm?
Jan Alonzo
Comment 5 2009-07-17 16:40:50 PDT
This is already fixed in libsoup (see Alex's comment #6)
Note You need to log in before you can comment on or make changes to this bug.