Well today I am facing another problem.
Got this answer on a apache behind a proxy .
400 Bad Request
Bad Request
Your browser sent a request that this server could not understand.
Size of a request header field exceeds server limit.
So .. it appear the header that is received by webserver is bigger then normal .
Solution is to increase it .
LimitRequestFieldSize 32760
LimitRequestLine 32760
Please note that is loaded from first VirtualHost.
One solution is to tested with this
curl -v -H “CustomHeader: `printf ‘1%.0s’ {1..n}`” localhost
Where n can be replace with a value of for example 20000