On Thu, Apr 7, 2011 at 3:41 PM, anatoly techtonik <[email protected]> wrote: > On Thu, Apr 7, 2011 at 8:25 AM, python.org wiki <[email protected]> wrote: >> >> You can access JSON information about packages by using the URL format >> >> http://pypi.python.org/pypi/package_name/json > > Why Content-Disposition: attachment; ??? > Please, CC.
Why not? IIRC when I implemented it at the EuroPython sprints I asked around those near me and the consensus was for attachment. It should have no bearing on programmatic use, and I find it more convenient for in-browser use (since application/json is not handled). >>python -m wget http://pypi.python.org/pypi/wget/json > 8192 / unknown > Date: Thu, 07 Apr 2011 05:34:16 GMT > Server: Apache/2.2.16 (Debian) > Content-Disposition: attachment; filename=wget-0.7.json > Connection: close > Content-Type: application/json; charset="UTF-8" > > Saved under json > > -- > anatoly t. > _______________________________________________ > Catalog-SIG mailing list > [email protected] > http://mail.python.org/mailman/listinfo/catalog-sig > > _______________________________________________ Catalog-SIG mailing list [email protected] http://mail.python.org/mailman/listinfo/catalog-sig
