This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author karlcow
Recipients BreamoreBoy, ezio.melotti, karlcow, mher, orsenthil, takahashi.shuhei
Date 2014-10-06.23:03:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412636584.86.0.523134687703.issue18119@psf.upfronthosting.co.za>
In-reply-to
Content
Takahashi-san,

Ah sorry misunderstood which part your were talking about. I assume wrongly you were talking about navigation. 

Yes for the request which is sent to the server it should be
http://tools.ietf.org/html/rfc7230#section-5.3.1
So refactoring your example.

1st request:

    GET /foo HTTP/1.1
    Accept: text/html
    Host: example.com

server response
    HTTP/1.1 302 Found
    Location: /bar#test

second request must be
    GET /bar HTTP/1.1
    Accept: text/html
    Host: example.com

As for the navigation context is indeed part of the piece of code taking in charge the document after being parsed and not the one doing the HTTP request. (putting it here just that people understand)


(to be tested)
For server side receiving invalid Request-line 
http://tools.ietf.org/html/rfc7230#section-3.1.1

   Recipients of an invalid request-line SHOULD respond with either a
   400 (Bad Request) error or a 301 (Moved Permanently) redirect with
   the request-target properly encoded.  A recipient SHOULD NOT attempt
   to autocorrect and then process the request without a redirect, since
   the invalid request-line might be deliberately crafted to bypass
   security filters along the request chain.
History
Date User Action Args
2014-10-06 23:03:04karlcowsetrecipients: + karlcow, orsenthil, ezio.melotti, mher, BreamoreBoy, takahashi.shuhei
2014-10-06 23:03:04karlcowsetmessageid: <1412636584.86.0.523134687703.issue18119@psf.upfronthosting.co.za>
2014-10-06 23:03:04karlcowlinkissue18119 messages
2014-10-06 23:03:04karlcowcreate