Is it safe to trust the Content-Length
HTTP header? According to the MDN docs it is a Forbidden header name
. If I go to that page it says the following.
Modifying such headers is forbidden because the user agent retains full control over them.
But wouldn't there still be a way to spoof these values if you control the user agent?
I'm just trying to figure out how safe it is to trust those headers on that Forbidden header name
page and if they are able to be spoofed at all.