A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2006-November/069829.html below:

[Python-Dev] Path object design

[Python-Dev] Path object design [Python-Dev] Path object designFredrik Lundh fredrik at pythonware.com
Sat Nov 4 19:33:10 CET 2006
Steve Holden wrote:

>> Ah, but how do you know when that's wrong? At least under ftp:// your
>> root is often a mid-level directory until you change up out of it.
>> http:// will tend to treat the targets as roots, but I don't know that
>> there's any requirement for a /.. to be meaningless (even if it often
>> is).
>>
> I'm darned if I know. I simply know that it isn't right for http resources.

the URI specification disagrees; an URI that starts with "../" is per- 
fectly legal, and the specification explicitly states how it should be 
interpreted.

(it's important to realize that "urijoin" produces equivalent URI:s, not 
file names)

</F>

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4