I have a get request with a very large url which works. But every subsquent calls fails because when this large url becomes a referer and then the whole header becomes larger than 16k and the request fails.
The size of the request headers is too long.
I know I can fix this by using the registry hack. But I need to change this in the web.config.
Is that possible att all?
Please don't advice me to shorten the url.
No you can't change it from the web.config.
You can do it only by registry because this settings is used at kernel level (http.sys).
It will apply to all web sites and it has many implication and concern
so you have to decide if YOU REALLY NEED THIS?
you says to not advice to shorten the url but I think you're not really aware of the implication.
The problems is your too long urls and not this setting
you're just trying to work around the problem by changing a setting but definitely the problem will recur in other forms and other places
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With