Subject: | Don't included Content-Type header if request doesn't have content |
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.