> > A helpful Djangonaut pointed out to me in IRC that I could subclass
> > the request handler (in my case django.core.handlers.modpython) and do
> > some magic to prevent the default handling from happening. Is this the
> > only way to get to this data? I'd like a cleaner (and easier!)
> > solution for this seemingly trivial problem.

> Perhaps you're looking for request.raw_post_data 
> ?http://docs.djangoproject.com/en/dev/ref/request-response/#attributes

The request.raw_post_data is empty when content-type is not multipart/
form-data, so that does not help.

But, it lead me to another ticket, #9054 ( 
http://code.djangoproject.com/ticket/9054
), which seems to be about this exact issue. If this is considered as
a bug, then I'm happy to patch my Django while waiting this to get
fixed :)

- VS
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to