Follow Location header with relative URL #79

Closed
rafaelss opened this Issue Jan 20, 2011 · 1 comment

Projects

None yet

2 participants

$ htty muck.com.br
*** Welcome to  htty , the HTTP TTY. Heck To The Yeah!
http://muck.com.br/> get
*** Type fol[low] to follow the 'Location' header received in the response
 302  Found -- 7 headers -- empty body
http://muck.com.br/> headers-response
          Date: Thu, 20 Jan 2011 15:07:11 GMT
        Server: Apache
  X-Powered-By: PHP/4.4.9
      Location: site/index.php
Content-Length: 0
    Connection: close
  Content-Type: text/html
http://muck.com.br/> fol
http://site/index.php> get
*** Getaddrinfo: nodename nor servname provided, or not known
http://site/index.php> 
Owner

Fixed in f31184c.

@njonsson njonsson closed this Feb 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment