OK, I appreciate your message. Actually I've already saw some messages about
it, but with no satisfatory answers.

The line in the code that cleans the field raw_post_data when content-type
is "multipart*" screws everything up. But the major problem seems to be do
not handle multipart messages very well... what is a pity. :(

Henrique

On Fri, Aug 6, 2010 at 8:53 AM, Reinout van Rees <rein...@vanrees.org>wrote:

> On 08/06/2010 07:54 AM, Henrique Teófilo wrote:
>
>> Dear all,
>>
>> I'm posting a multipart/mixed message to Django 1.1.1 using the
>> development web server (a binary file and a textual part -- it's not a
>> Form) and I need to get the Content-Type of the textual part. How do I
>> accomplish this??
>>
>> I was trying to get it from request.raw_post_data but it is coming
>> empty...
>>
>
> I've seen cases where you cannot grab data from the request after you've
> already grabbed it.  So if that raw_post_data is called after the "regular"
> grab...
>
> I totally don't know how this works in Django, but I've seen this happen
> once elsewhere, so it might have bitten you too.
>
>
>
>
> Reinout
>
>
> --
> Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
> Programmer at http://www.nelen-schuurmans.nl
> "Military engineers build missiles. Civil engineers build targets"
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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