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

Can we configure HTTP response code headers?

We're stumped. We're getting a new header in our Apache httpd + Passenger web server we didn't expect. We have a sensitive web client reading this we cannot modify at this time. Can we modify this piece of the header? As we understand it, the "OK"…
comb
  • 143
  • 1
  • 6
0
votes
1 answer

How respect acept: text/plain with nginx?

In http header there is a field named accept, so client can specify prefered format. How can I configure nginx to return markdown page in case of plain text request and processed via some markdown implementation in case of html request?
KAction
  • 111
  • 4
0
votes
1 answer

nginx ssl proxy for one hostname only

I want nginx to serve as a ssl proxy but for host: "ssl.example.com" at the same time I want nginx to serve "nginx is ok" website for host: "ssl-check.example.com" (this is just example, please don't suggest any monitoring tools here) for other…
Arek B.
  • 317
  • 1
  • 3
  • 12
0
votes
1 answer

Why is IIS 7.5 seeing some requests as HTTP/1.0?

While trying to work out why Static File Compression wasn't working on one of our IIS servers, the error was coming back as "NO_COMPRESSION_10" which translates to: Server not configured to compress 1.0 requests Looking at the requests in Fiddler,…
0
votes
1 answer

Have set Expiration time: Still getting "Query string present but no explicit expiration time"

I have one local Apache instance running with mod_cache (+ disk & mem) enabled, and it seems to cache content from my appserver fine. My app server sets Expiration headers and Last-modified. Yet, when deploying on a production server with the same…
oligofren
  • 641
  • 2
  • 8
  • 23
0
votes
1 answer

Apache returns HTTP 206 for GET /file.mp3

I am making a get request to an SSL enabled site on apache (so wireshark isn't giving me anything to useful). In my Apache SSL access log I see the following entry: 1.2.3.4 - my.username [15/Nov/2012:16:52:01 +0000] "GET /uploads/file.mp3 HTTP/1.1"…
jwbensley
  • 4,202
  • 11
  • 58
  • 90
0
votes
3 answers

Uploading to another domain gives HTTP code 405

I'm trying to upload a file (which can be quite large) from the website of one server to the backend of another server using plupload. Lets say: domain 1 = http://www.websitedomain.com/uploadform domain 2 =…
dragon112
  • 137
  • 3
  • 9
0
votes
1 answer

IIS 6 Header too big, how to tune this iis setting

IIS 6 seems to be limited (by default at least) to an http header of 16k. I have a 3rd party tool that is talking to the web server (ajax) and sending an http header that is bigger than that. Since I can't control the 3rd party tool, I am hoping to…
Don Dickinson
  • 384
  • 3
  • 8
0
votes
1 answer

FirePHP on Apache2 cause 502 error

I've got a problem with FirePHP. FirePHP doesn't work anymore on my Server (Debian 6 Squeeze with Apache2). When I am loading my site in my Firefox with FirePHP enabled, I receive an 502 error and an error message from my hoster Hetzner, which says…
Michi Qne
  • 1
  • 1
  • 3
0
votes
2 answers

Can Apache2 be configured to return both HTTP 1.0 and 1.1?

I'm trying to figure out a caching issue. We are currently using a CMS with built in caching. We can then delete the cached copy via the control panel and the uncached page will be served until we cache that page again. Long story short, we know…
dmayo
  • 111
  • 1
  • 7
0
votes
3 answers

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

Is there a way for an HTTP server to tell from HTTP headers if a proxy server has been involved in the connection?
Danny Staple
  • 1,494
  • 1
  • 9
  • 15
0
votes
1 answer

NGINX MIME TYPE

I have my nginx conf file so that when ever a mobile device visits my site the url gets rewritten to m.mysite.com I did it by adding the following set $mobile_rewrite do_not_perform; if ($http_user_agent ~*…
0
votes
1 answer

Is html or php header needed for gzip?

I use gzip module of nginx to compress documents. When gzip is enabled nginx will automatically send content-ending of gzip with HTTP headers, right? Without adding any PHP header header() or HTML meta http-equiv, this works perfectly. However, I…
Googlebot
  • 1,047
  • 2
  • 15
  • 30
0
votes
1 answer

same javascript file, but different file size depends on a server?

I have a weird problem. I have two exact website on two servers - dev and qa. The dev one shows that my javascript size is 100kb, but the qa says 400kb. When I save the script on my local, it is 400kb. I looked at the header of the javascript on…
Moon
  • 2,123
  • 4
  • 24
  • 23
0
votes
1 answer

Can I change Apache configuration based on requestHeaders?

I need to configure filter settings (In Apache2) based on RequestContent header. Is it possible? Specifically changes based on the value of one header. (I'm using mod_line_edit to filter html in reverse proxy) EDIT: I'm doing reverse proxy and I…
Hurda
  • 101
  • 1
  • 4