Message146202
> Actually, if I get it right, it means that following url is valid:
> ws://example.com/something#somewhere/
I don’t think so. The URI syntax RFC is generic, so a scheme spec cannot redefine the parsing to mean that in your above example, there is no fragment and the path is /something#somewhere/ . I believe the spec means that a # in any component must be %-escaped.
> Does urllib throw when an URL contains a fragment identifier, but the scheme of the URL is not
> in urlparse.uses_fragment?
Could you try it in a shell and tell us? BTW, please don’t use “throw” in a code or doc patch: exceptions are raised, throw is related but different generator method. |
|
Date |
User |
Action |
Args |
2011-10-22 23:22:24 | eric.araujo | set | recipients:
+ eric.araujo, orsenthil, ezio.melotti, nailor, oberstet |
2011-10-22 23:22:24 | eric.araujo | set | messageid: <1319325744.5.0.533186605654.issue13244@psf.upfronthosting.co.za> |
2011-10-22 23:22:23 | eric.araujo | link | issue13244 messages |
2011-10-22 23:22:23 | eric.araujo | create | |
|