[Catalog-sig] Changes to the simple pages
"Martin v. Löwis"
martin at v.loewis.de
Tue Jan 19 22:21:25 CET 2010
>> 2. Make file paths relative (from
>> Â to ../../packages)
> Likewise, #2 should be fine as long as urlparse.urljoin produces the
> correct result using the retrieved-from URL as the base URL. I stress
> this because some web applications treat the urls "foo" and "foo/" as if
> they were interchangeable, and for relative-URL purposes, they are not.
> So, as long as PyPI handles this correctly based on the URL that was
> sent by the *client* (rather than perhaps a canonical URL the client
> "should have" sent), then that will be fine.
Can you please suggest an example where this could break? If the client
doesn't send an absolute path, it will be incorrect HTTP, no?
More information about the Catalog-SIG