On Sat, Jun 28, 2008 at 9:12 AM, kevin <k7l...@gmail.com> wrote:
hey all,
hope you're having a good saturday.
an api requires me to reply with a hash of variables i've received via
POST. the hash needs to be generated based on the original ordering
of the variables as i've received them.
unfortunately the request.POST appears to be a dictionary-style object
that doesn't preserve their ordering.
how can i get that information?
There are ordered dicts around, such as this one which was just
proposed in Python PEP 372 and which I'm considering putting into
WebHelpers.
http://dev.pocoo.org/hg/sandbox/raw-file/tip/odict.py
But how you'd get WebOb to use it is another question.