Skip Menu |
 

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

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

People
Owner: Nobody in particular
Requestors: justincase [...] yopmail.com
Cc:
AdminCc:

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



Subject: Don't included Content-Type header if request doesn't have content
Download (untitled) / with headers
text/plain 438b
LWP by default adds this header to all requests even if there is no content in the request: Content-Type: application/x-www-form-urlencoded Users also can't disable it by passing in the header keypair: content_type => undef . They can probably do so by manually constructing an HTTP::Request, but I haven't checked that. I did verify that neither Firefox nor Chrome include a Content-Type header if there is no content in the request.


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.