On Sun, 21 Oct 2012 09:14:03 -0400, Daniel Holth
On Sun, Oct 21, 2012 at 8:27 AM, Stephen J. Turnbull
wrote: Daniel Holth writes:
Another solution comes to mind. Put the description in the payload.
That would work for me, but it would cause extensibility problems if anybody later found a use for other formatted fields. I have no intuition for that.
It's OK to limit the extensibility of this format. IIUC pypi usually gets the metadata as a pre-parsed dict anyway, and the installer / runtime does not need formatted fields at all (only parsing the name, version, requirements to do dependency resolution).
Well, if you did want to maintain extensibility, you could go whole hog and allow MIME types and Content-Type: mulitpart/mixed :) --David