[Catalog-sig] JSON content-disposition (Was: [PythonInfo Wiki] Update of "CheeseShop" by RichardJones)

anatoly techtonik techtonik at gmail.com
Thu Apr 7 08:05:48 CEST 2011


On Thu, Apr 7, 2011 at 8:52 AM, Richard Jones <richard at python.org> wrote:
> On Thu, Apr 7, 2011 at 3:41 PM, anatoly techtonik <techtonik at gmail.com> wrote:
>> On Thu, Apr 7, 2011 at 8:25 AM, python.org wiki <wiki at python.org> 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).

What do you mean by in-browser use? Chrome downloads this URL instead
of displaying contents inline, and it becomes much harder to debug.

Please, CC.
--
anatoly t.


More information about the Catalog-SIG mailing list