Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. HTTP Location Header [modified]

HTTP Location Header [modified]

Scheduled Pinned Locked Moved Web Development
helpquestiontutorial
10 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bigdenny200
    wrote on last edited by
    #1

    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

    E M S 4 Replies Last reply
    0
    • B bigdenny200

      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

      E Offline
      E Offline
      Ennis Ray Lynch Jr
      wrote on last edited by
      #2

      Try the http rfc

      Need a C# Consultant? I'm available.
      Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway

      B 1 Reply Last reply
      0
      • E Ennis Ray Lynch Jr

        Try the http rfc

        Need a C# Consultant? I'm available.
        Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway

        B Offline
        B Offline
        bigdenny200
        wrote on last edited by
        #3

        I tried, but I could not make sense out of the paragraphs that were mentioning it in the RFC..

        1 Reply Last reply
        0
        • B bigdenny200

          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

          M Offline
          M Offline
          Member 96
          wrote on last edited by
          #4

          The asp.net forum would be an appropriate place, but this page should give you an idea: http://www.edginet.org/techie/website/http.html[^]


          When everyone is a hero no one is a hero.

          1 Reply Last reply
          0
          • B bigdenny200

            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

            M Offline
            M Offline
            Member 96
            wrote on last edited by
            #5

            The asp.net forum would be an appropriate place, but this page should give you an idea: http://www.edginet.org/techie/website/http.html[^]


            When everyone is a hero no one is a hero.

            1 Reply Last reply
            0
            • B bigdenny200

              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

              S Offline
              S Offline
              Shog9 0
              wrote on last edited by
              #6

              It specifies the URI that the requested resource can be found at. It's used primarily for redirection.

              B 1 Reply Last reply
              0
              • S Shog9 0

                It specifies the URI that the requested resource can be found at. It's used primarily for redirection.

                B Offline
                B Offline
                bigdenny200
                wrote on last edited by
                #7

                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.

                S 1 Reply Last reply
                0
                • B bigdenny200

                  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.

                  S Offline
                  S Offline
                  Shog9 0
                  wrote on last edited by
                  #8

                  It's up to the client (web browser, usually) to decide how to react. Depending on the exact status code, most will automatically redirect.

                  B 1 Reply Last reply
                  0
                  • S Shog9 0

                    It's up to the client (web browser, usually) to decide how to react. Depending on the exact status code, most will automatically redirect.

                    B Offline
                    B Offline
                    bigdenny200
                    wrote on last edited by
                    #9

                    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.

                    S 1 Reply Last reply
                    0
                    • B bigdenny200

                      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.

                      S Offline
                      S Offline
                      Shog9 0
                      wrote on last edited by
                      #10

                      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.

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups