My app was sending request with header field "Content type"
[sic] and value "form-data"
[sic] to the server. Although it seems wrong - it seems it was causing no problem until couple of days ago. Then something happened (admin installed security update or so) and now the lamp server returns 400 bad request
, which is what one would expect.
While I could update the app to send proper header values but I'm not allowed to due to client's requirement - and I need to be able to revert / accept the bad request as it was working before.
With any other server it seems it would work fine - but on my server and local machine - the app now gets 400 bad request
returned.
Any idea how I could make this work? I think the server admin installed some security update and this problem appeared but I don't seem to be able to revert it in any way. Even creating a new server isn't solving it.
I've seen some module 'mod_headers'
for apache which I think might be able to allow me to accept a custom malformed header "Content type"
but not sure if that is the way to go.
This is all that I'm getting in my local machines server log (screenshot of access log):