Bug 24845 - [SOUP] XMLHttpRequest POST with empty data should send a Content-Length header
Summary: [SOUP] XMLHttpRequest POST with empty data should send a Content-Length header
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: XML (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords: Gtk, PlatformOnly
Depends on:
Blocks:
 
Reported: 2009-03-26 12:11 PDT by Georg Nagel
Modified: 2009-07-17 16:40 PDT (History)
2 users (show)

See Also:


Attachments
testcase (849 bytes, text/html)
2009-03-26 12:12 PDT, Georg Nagel
no flags Details
no 404 in testcase (814 bytes, text/html)
2009-03-26 12:15 PDT, Georg Nagel
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Georg Nagel 2009-03-26 12:11:10 PDT
if you do a xmlHttpObj.open('POST', 'url', true); xmlHttpObj.send('');
you getting "411: Length required"
Comment 1 Georg Nagel 2009-03-26 12:12:29 PDT
Created attachment 28975 [details]
testcase
Comment 2 Georg Nagel 2009-03-26 12:15:47 PDT
Created attachment 28976 [details]
no 404 in testcase
Comment 3 Georg Nagel 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
Comment 4 Alexander Butenko 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?
Comment 5 Jan Alonzo 2009-07-17 16:40:50 PDT
This is already fixed in libsoup (see Alex's comment #6)