5

Is there a way to get data POSTed to a Django view in the order in which it appeared in the HTTP header?

The reason I need this is for PayPal's Instant Payment Notification - you have to acknowledge the notification by sending the data back in exactly the same order to ensure the integrity of the data. I can't figure this one out!

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
Ben
  • 6,687
  • 2
  • 33
  • 46

1 Answers1

4

Maybe HttpRequest.raw_post_data can be your friend? It is available since Django 1.3.

pajton
  • 15,828
  • 8
  • 54
  • 65