I'm sending XML data but request.raw_post_data and POST vars are
empty, whats wrong?

___views.py___
def reply(request):
    return HttpResponse("Server raw reply: "+str(request.raw_post_data))


I've copied POST process information form Firebug Net/XHR tab.

___HEADERS___
Host    localhost
User-Agent      Mozilla/5.0 (X11; Linux i686; rv:2.0) Gecko/20110323 Firefox/4.0
Accept  text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language tr-tr,tr;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding gzip, deflate
Accept-Charset  ISO-8859-9,utf-8;q=0.7,*;q=0.7
Keep-Alive      115
Connection      keep-alive
Content-Type    application/xml; charset=UTF-8


___DATA___
XML
<data>
    <code>1</code>
</data>

Source
<data><code>1</code></data>


-- 
Ali E.İMREK

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" 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/django-users?hl=en.

Reply via email to