kevin 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?

It does preserve order.  If you look at request.POST.items(), it will 
give you the items in the order they were submitted.

-- 
Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to