[Solved] Json POST returns bad request

#1
Hello,

We've recently switched from Apache to Litespeed and started to get a 400 bad request response for XHR Posts. Is there anything on Litespeed that would cause this issue?
 

mistwang

LiteSpeed Staff
#4
For people encountered similar problem, the 400 bad request is due to request header size limit has been changed to 4096, which is lower than the size of XHR request.
raise the limit solved the problem.
 
#5
For people encountered similar problem, the 400 bad request is due to request header size limit has been changed to 4096, which is lower than the size of XHR request.
raise the limit solved the problem.
Ah, i apologise for not updating this topic.
My focus got diverted to the debugging email and forgot about this one.
Yes it appears the default values were modified on this installation which caused this issue, reverting back to the default values took care of the problem, thanks for the help!
 
Top