开发者

Retrieve POST data in the order they were sent in in Django

开发者 https://www.devze.com 2023-02-20 15:52 出处:网络
Is there a way to get data POSTed to a Django view in the order in which it appeared in the HTTP header?

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 hav开发者_如何学Ce 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!


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

0

精彩评论

暂无评论...
验证码 换一张
取 消