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

NGiNX header goes update if client provide

Our Application is running on NGiNX sever and logic decide database according to host. From last few day one of our customer overriding host, user-agent and other header and NGiNX is unable to get the exact header details and our application goes…
0
votes
1 answer

What is this regular (every 120 seconds) HTTP 1.1 POST?

From several IP addresses my Apache 2.4 server got this entry turn in the logs. For the 88.* address I saw 178 entries. The timing interval is between 120 and 123 seconds, generally 122. 88.207.37.105 - - [20/May/2017:18:11:47 +0000] "POST /…
Josh
  • 181
  • 1
  • 8
0
votes
1 answer

Expire 410 responses in nginx

Browsers cache 410 Gone responses indefinitely by default. An accidental 410 can kill the URL forever. The URL might be also resurrected later for other reasons. I would like to set expires for 410s to force browser refresh time to time. Is there a…
0
votes
1 answer

How set Cache-Control headers for index.htm files using mod_headers?

I need to set cache control headers for index.htm files Unfortunately the following configuration does not work. The reason when the user access “/” in a browser the server response with index.htm even it does not appear in the request.
Michael
  • 597
  • 3
  • 9
  • 23
0
votes
2 answers

Analyzing HTTP traffic

I am trying to solve the problem for a while and i couldn't find a proper answer online. I have a file with mobile traffic (from an Android device) and I am trying to check whether an http request is sent from the browser or from a mobile app (for…
0
votes
1 answer

How to forbit apache httpd from adding headers to responses

I've a jetty server behind an apache httpd server. I properly handle headers to be returned to requests I receive at jetty level. But sometimes apache httpd add some headers (typically the Content-Type) that I don't want them to be added in my…
bachr
  • 163
  • 1
  • 5
  • 11
0
votes
1 answer

Keep-Alive in Headers

On my server we have mod_headers.c enabled. I'm using the below code to enable Keep-Alive Header set Connection keep-alive Is there any reason why GTMetrix or some other sites doesn't pick this up? Been…
Shane Jones
  • 141
  • 3
0
votes
0 answers

Stylesheets not loading on Apache2.4 with PHP 5.6 on FastCGI

I have Googled my heart out looking for an answer to this but cannot find one! I know it seems like a Stack Overflow sort of question but I didn't have these problems before I ran it through fastCGI which makes me think it is server related. I have…
Wildcard27
  • 131
  • 6
0
votes
0 answers

IIS Setting Response header makes loading site very slow

My site loads very slow. I have enabled Failed Request Tracing to trace status 200 pages. When I view the trace, I notice that following setting the response header takes a long time: GENERAL_SET_RESPONSE_HEADER HeaderName="X-AspNetMvc-Version",…
Martijn
  • 103
  • 5
0
votes
1 answer

Nginx - Redirect the rest of the alias domains to a main one in OpenShift

I'm trying to redirect permanently a couple of alias domains of an application in OpenShift to a main one for SEO purposes. The application is running a working instance of Openshift Nginx Cartridge. I currently have: server { listen <%=…
0
votes
1 answer

Is It posible Apache or server Escape some Header like content_length?

In my case , I have a Laravel site , This script work prefect In Local ( My mean is show content_length Header ) , But When I run This Script in the Internet and My server , It Escape the content_length . Screen shot (Local => It have a…
majid
  • 101
0
votes
1 answer

Why does NGinx send content in a HTTP 304 response when If-None-Match / If-Modified-Since is a match?

My default NGinx installation is returning a 304 Not Modified response to a request which has a matching If-None-Match header and a non-expired If-Modified-Since header which is correct behaviour but NGinx also adds the content of the resource to…
sethmlarson
  • 101
  • 1
  • 4
0
votes
1 answer

/ Require expr equivalent in Apache 2.2.22 to check for headers?

I use the following Apache config to to check for certain headers in my requests: Require expr %{HTTP:header1} == 'abc' Require expr %{HTTP:header2} == 'def' …
Lars Schneider
  • 373
  • 1
  • 3
  • 6
0
votes
1 answer

Non proxy aware client, (mitm)proxy modification of headers

What I am trying to achive Pulling data, using a SaaS service, from a remote site with a simple GET request to mitmproxy. The SaaS service is not proxy aware. I want the SaaS web client to do a GET request to mitmproxy, basically like this: GET…
xeet
  • 300
  • 2
  • 7
0
votes
1 answer

Apache 'always set' headers removed if mod_expires ExpiresActive On

I have a following directives in my virtual host: Header always set Strict-Transport-Security "max-age=157700000;" Header always set ThisIsATestHeader "This is removed when ever ExpiresActive is on" Header merge AnotherHeader "This will NOT be…
ruuter
  • 141
  • 4