{"ETag", HDR_ETAG, ftETag},
{"Expect", HDR_EXPECT, ftStr},
{"Expires", HDR_EXPIRES, ftDate_1123},
+ {"Forwarded", HDR_FORWARDED, ftStr},
{"From", HDR_FROM, ftStr},
{"Host", HDR_HOST, ftStr},
{"HTTP2-Settings", HDR_HTTP2_SETTINGS, ftStr}, /* for now */
#endif
HDR_SURROGATE_CAPABILITY,
HDR_SURROGATE_CONTROL,
+ HDR_FORWARDED,
HDR_X_FORWARDED_FOR
};
HDR_ORIGIN,
HDR_PROXY_CONNECTION,
HDR_PROXY_AUTHORIZATION, HDR_RANGE, HDR_REFERER, HDR_REQUEST_RANGE,
- HDR_USER_AGENT, HDR_X_FORWARDED_FOR, HDR_SURROGATE_CAPABILITY
+ HDR_USER_AGENT, HDR_FORWARDED, HDR_X_FORWARDED_FOR, HDR_SURROGATE_CAPABILITY
};
static HttpHeaderMask HopByHopHeadersMask;
HDR_ETAG, /**< RFC 2608, 2616 */
HDR_EXPECT, /**< RFC 2616, 2616 */
HDR_EXPIRES, /**< RFC 2608, 2616 */
+ HDR_FORWARDED, /**< RFC 7239 */
HDR_FROM, /**< RFC 2608, 2616 */
HDR_HOST, /**< RFC 2608, 2616 */
HDR_HTTP2_SETTINGS, /**< HTTP/2.0 upgrade header. see draft-ietf-httpbis-http2-04 */
HDR_AUTHENTICATION_INFO, /**< RFC 2617 */
HDR_X_CACHE, /**< Squid custom header */
HDR_X_CACHE_LOOKUP, /**< Squid custom header. temporary hack that became de-facto. TODO remove */
- HDR_X_FORWARDED_FOR, /**< Squid custom header */
+ HDR_X_FORWARDED_FOR, /**< obsolete Squid custom header */
HDR_X_REQUEST_URI, /**< Squid custom header appended if ADD_X_REQUEST_URI is defined */
HDR_X_SQUID_ERROR, /**< Squid custom header on generated error responses */
#if X_ACCELERATOR_VARY