The Filter action removes the specified header from the request. It is really only useful for removing standard headers sent by the browser. Typically, this can be used for removing:
- Cookie
Note that the header name only be specified, no value is required.
Tried using the filter method for content-length, yet the content-length header still appears to be sent according to FireBug.
Any tips?
I am testing my web server, and *modifying* the content-length headers works great.
Hi Mike,
Due to the Firefox architecture, there are some HTTP headers that the browsers adds/modifies after the point at which Modify Headers touches the HTTP request. Does that make sense?