0
votes
1answer
38 views

Does HSTS HTTP Strict-Transport-Security has to be sent with any response file?

I have to add security measures to a website running a Tomcat 6 application server. One of it is adding the HTTP Strict-Transport-Policy Header. I did this by adding a filter which is in turn adding ...
0
votes
1answer
62 views

Varnish Working with Custom http response Headers

I am trying to read http response header that holds an "cacheable". For Example: if (req.http.X-Type ~ "cacheable") { unset req.http.Cookie; return(lookup); } I've Tried a lot of things ...
-1
votes
1answer
115 views

Exclude Specific Pages From HTTP headers

I am just an html and css guy, so please forgive me if my question isn't worded correctly. I set http headers in the .htaccess file to disable caching for my site, and it works fine. But now I want to ...
1
vote
1answer
2k views

Adding and using header (HTTP) in nginx

I am using two system (both are nginx load balancer and one act as an backup). I want to add and use few http custom headers. Please give your suggestion e.g upstream upstream0{ ...
0
votes
1answer
1k views

retrieve file size from HTTP headers without downloading the file with CURL (no HEAD)

What i want to do is knowa file size and not download it. I've tried it with HEAD but the server doesn't respond curl_setopt($curl, CURLOPT_NOBODY, true); if i quit this , it will , but it will ...
4
votes
3answers
1k views

Incorrect gzipping of http requests, can't find who's doing it

We're seeing some very strange mangling of HTTP responses, and we can't figure out what is doing it. We have an app server handling JSON requests. Occasionally, the response is returned gzipped, but ...
2
votes
2answers
2k views

File Specific cache http header for IIS 6

Is there a way to set cache related header for a specific file type in II6? We want to turn off cache on all our *.js and *.css file here, but IIS6 is forcing us to do a all or nothing approach.