2
votes
4answers
2k views

Referer is passed from HTTPS to HTTP in some cases… How?

In theory browsers do not pass on referer information from HTTPS to HTTP sites. And in my experience this has always been true. But I just found an exception, and I want to understand why it works so ...
2
votes
2answers
973 views

nginx: Specify custom headers in rewritten location blocks

I'm trying to set some headers only for specific location blocks in nginx. The problem I have is that those location blocks contain rewrite statements, which apparently seem to drop the custom ...
0
votes
3answers
504 views

Can HTTP headers be used to tell if page has been through a proxy?

Is there a way to tell from HTTP headers with a page if a proxy server has been involved in the connection?
1
vote
0answers
217 views

Proper resolution of request url and referer

I was working on my node server and encountered the need to implement the use of request.headers.referer. When I did tests and read headers to determine how to write the parsing functions, I couldn't ...
2
votes
1answer
1k views

Disable User-Agent based Vary header response in nginx?

It seems that nginx includes a Vary: Accept-Encoding header in some cases regardless of the file types I specify via "gzip_types". I do not have much experience with nginx. Does it in fact send Vary: ...
15
votes
4answers
14k views

How to dump entire HTTP requests with apache

Is it possible to dump entire HTTP requests by apache? I need to track all HTTP headers of incomming requests. How to do that?