Skip Menu |

This queue is for tickets about the libwww-perl CPAN distribution.

Report information
The Basics
Id: 70488
Status: resolved
Priority: 0/
Queue: libwww-perl

Owner: Nobody in particular
Requestors: hanenkamp [...]

Bug Information
Severity: Normal
Broken in: 6.02
Fixed in: (no value)

Subject: lwp-request does not respect -H Content-type
Download (untitled) / with headers
text/plain 311b
echo foo.xml | POST -H 'Content-type: text/xml' http://... Does not do what's expected. Clearly the work around is: echo foo.xml | POST -c text/xml http://... which is better, but still, lwp-request should not replace a -H header with an implicit value of www/x-www-form-urlencoded just because it's a POST.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to