Questions tagged [http-headers]

HTTP header fields are components of the message header of requests and responses in the Hypertext Transfer Protocol (HTTP). They define the operating parameters of an HTTP transaction.

HTTP header fields are components of the message header of requests and responses in the Hypertext Transfer Protocol (HTTP). They define the operating parameters of an HTTP transaction.

Refer to RFC 2616

624 questions
0
votes
1 answer

max-age doesn't work

I have the same PHP code on two different websites on two different pages. The code simply displays the current time, and sets a http caching header using max-age to 60 seconds. I have a CDN server. When I run the pages, I see that the CDN is…
Ctroy
  • 101
  • 1
0
votes
1 answer

WSDL server HTTP headers

I am sending request to WSDL server, and I have some funny results. In about 9 of 10 cases I got error from server, however in 1 of 10 I got successful response. Headers from successful response: HTTP/1.1 200 OK Date: Thu, 01 Sep 2011 09:34:47…
lstipakov
  • 103
  • 3
0
votes
2 answers

IIS host header non 80 port

Possible Duplicate: How to use DNS to redirect domain to specific port on my server I have deployed our company intranet website to IIS 7 server added the following binding info IP Address: All Unassigned port: 3333 domain name:…
user922291
  • 125
  • 1
  • 2
  • 5
0
votes
1 answer

Proxy-Connection Header associated with failed connections

I work with microprocessor devices that have/run a micro webserver. I have two of these devices set up so that they can be accessible to/by the Internet - I'll call the devices "A" and "B". Currently, I can successfully connect to "A" from the…
0
votes
1 answer

In WireShark, what exactly is X-FCCKV2?

When I filtered HTTP traffic in Wireshark I bumped into a X-FCCKV2 HTTP header in the collected info under the Hypertext Transfer Protocol. I've researched it on Google but found nothing. What does it stand for? Is it some kind of encryption?
platypus
  • 281
  • 1
  • 4
  • 11
0
votes
2 answers

How to set multiple HTTP headers

Likewise in Apache is there a way you can setup multiple headers in nginx? location ~.*\.(css|html|js)$ { expires 30d; I currently have that set, but I was thinking to make js and css expire after 90 days instead. Is that possible?
Chirag
  • 271
  • 1
  • 4
  • 11
0
votes
1 answer

Strange HTTP response headers being sent to Internet Explorer 8 only

So here's something I find puzzling. I'm working on a Javascript that needs to parse XML data and I'm using jQuery's $.ajax to fetch and parse the data. It's working great everywhere except when I test with Internet Explorer 8 (it might be a problem…
JonMcL
  • 133
  • 1
  • 6
0
votes
2 answers

If a server returns Cache-Control=public with no Max-Age or Expires, can a proxy cache it forever?

If a server returns Cache-Control=public with no Max-Age or Expires, can a proxy server cache it forever? Do proxies or the spec have a built-in default for these values? Is it always wrong for a server to do this? Thanks. Cache-Control …
James Lawruk
  • 617
  • 2
  • 10
  • 18
0
votes
3 answers

Website with optimal cache control

My goal I would like to let browsers cache my whole website, but only download the new information when I have changed one or more files. My situation After some research I have found a way to do this. That is to add a Far Future Expires Header to…
Z0q
0
votes
1 answer

How do I configure Jetty (via jettyrunner) so that it names a character set in the Content-Type response header?

I use Jetty (via the oh-so-handy Jetty Runner) for day-to-day web application testing. One thing I've recently stumbled on is the fact that I don't get a character set called out in the "Content-Type" response header all the time. I do get it in…
Pointy
  • 167
  • 1
  • 2
  • 10
0
votes
1 answer

Enforcing a specific order for cookie headers

We have an application that cares about the order of cookie headers. It shouldn't, since this isn't mandated by the standards and indeed we're getting the headers in various different orders So we would like to rewrite the headers in Apache so that…
0
votes
2 answers

Block websites based on header words by squid proxy

Is it possible to block website accessing based on HTML's "header words" by squid proxy on RHEL 5 ? If possible please tell as detail.
Kumar
  • 823
  • 3
  • 20
  • 43
0
votes
1 answer

Should Squid honor no-cache and s-maxage in reverse proxy mode?

I'm using Squid 2.7.STABLE9, which I compiled from source. My understanding of no-cache is that the cache must revalidate with the origin server before serving up a cached copy of the resource, and that this takes place with an If-Modified-Since…
dbrown0708
  • 101
  • 1
0
votes
3 answers

Server Leaks Internal IP Address through content-location on port 443

I have 2 servers doing this that use https. I was getting this on both port 80 and 443 but I followed the instructions on http://support.microsoft.com/kb/834141/ and resolved the issue with 80. I am trying to figure out how to repair this on port…
Jeff
  • 685
  • 7
  • 17
0
votes
2 answers

Masking / Pointing subdomain to different server and keeping same url in address

Originally posted on Stack Overflow. This may be a question for Server Exchange but I am starting to feel pretty cozy here and I feel like someone here will definitely know the answer. We are currently rebuilding a php site in rails and have the new…
jnolte
  • 285
  • 1
  • 4
  • 11