Re:HTTP headers we don't want
by voidlogic on Tuesday May 15, 2018 @04:47PM
(#17077739)
Wouldn't it be better to use the "Forwarded" header for this?
[ Parent
| on HN ]
Why better?
Via is a MUST https://tools.ietf.org/html/rfc7230#section-5.7.1
Forwarded is OPTIONAL https://tools.ietf.org/html/rfc7239#section-4
Protecting against loops only works with MUST headers.
Additionally, Forwarded is only for requests, while Via is for both requests and responses.