HTTP Location Header [modified]
-
Hi all, I appologize if this is not an appropriate place to ask, but I would appreciate if someone could help me with the following issue. I am trying to find out what is an "HTTP Location Header", but without success for a long time already. Can anyone clarify me what it is, or point to a good tutorial about HTTP protocol on the internet that may have information about this? Thank you in advance.
modified on Sunday, March 16, 2008 8:17 PM
-
Hi all, I appologize if this is not an appropriate place to ask, but I would appreciate if someone could help me with the following issue. I am trying to find out what is an "HTTP Location Header", but without success for a long time already. Can anyone clarify me what it is, or point to a good tutorial about HTTP protocol on the internet that may have information about this? Thank you in advance.
modified on Sunday, March 16, 2008 8:17 PM
Try the http rfc
Need a C# Consultant? I'm available.
Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway -
Try the http rfc
Need a C# Consultant? I'm available.
Happiness in intelligent people is the rarest thing I know. -- Ernest HemingwayI tried, but I could not make sense out of the paragraphs that were mentioning it in the RFC..
-
Hi all, I appologize if this is not an appropriate place to ask, but I would appreciate if someone could help me with the following issue. I am trying to find out what is an "HTTP Location Header", but without success for a long time already. Can anyone clarify me what it is, or point to a good tutorial about HTTP protocol on the internet that may have information about this? Thank you in advance.
modified on Sunday, March 16, 2008 8:17 PM
-
Hi all, I appologize if this is not an appropriate place to ask, but I would appreciate if someone could help me with the following issue. I am trying to find out what is an "HTTP Location Header", but without success for a long time already. Can anyone clarify me what it is, or point to a good tutorial about HTTP protocol on the internet that may have information about this? Thank you in advance.
modified on Sunday, March 16, 2008 8:17 PM
-
Hi all, I appologize if this is not an appropriate place to ask, but I would appreciate if someone could help me with the following issue. I am trying to find out what is an "HTTP Location Header", but without success for a long time already. Can anyone clarify me what it is, or point to a good tutorial about HTTP protocol on the internet that may have information about this? Thank you in advance.
modified on Sunday, March 16, 2008 8:17 PM
-
It specifies the URI that the requested resource can be found at. It's used primarily for redirection.
Hi shog. Thanks I already figured it out. Thanks to other people as well for their links. However, there is still a small question that I have. In case when a Web Server specifies an alternate web address for a new web server (i.e. where it wants to redirect the user) in the Location Header, then will the user be automatically redirected there, or she has to click on some link ? I have browsed through all documentations, but could not find any information regarding this.
-
Hi shog. Thanks I already figured it out. Thanks to other people as well for their links. However, there is still a small question that I have. In case when a Web Server specifies an alternate web address for a new web server (i.e. where it wants to redirect the user) in the Location Header, then will the user be automatically redirected there, or she has to click on some link ? I have browsed through all documentations, but could not find any information regarding this.
-
It's up to the client (web browser, usually) to decide how to react. Depending on the exact status code, most will automatically redirect.
Thanks again Shog. But let me elaborate my confusion: one of the documents that I read, say that, the "user issues a GET command on the HTTP location header and is redirected to the destination site". As I understand, this header value is invisible to the user, so how does he issue a GET command on it? Maybe I am misunderstandings something. That is why I thought there is an error in the text, and the user is automatically redirected to the new web site.
-
Thanks again Shog. But let me elaborate my confusion: one of the documents that I read, say that, the "user issues a GET command on the HTTP location header and is redirected to the destination site". As I understand, this header value is invisible to the user, so how does he issue a GET command on it? Maybe I am misunderstandings something. That is why I thought there is an error in the text, and the user is automatically redirected to the new web site.
um... The user issues a GET request by telling his client software to retrieve a URL. GET requests are how client software retrieves HTTP URLs. The client software is then also responsible for handling the Location header, retrieving the URL indicated by it, etc.