content type headers from multipart

11 views
Skip to first unread message

Larry Martell

unread,
Jul 19, 2016, 10:27:55 AM7/19/16
to django...@googlegroups.com
I have a django endpoint that gets a multipart and I want look at the
content type headers in each part. When I look at
request.META['CONTENT_TYPE'] I get:

'multipart/form-data;
boundary="boundary_.oOo._OTEwMTc3NzM5ODMxMjQxNzkyMTI5OTY3NDQwOQ=="'

Googling this I found
https://github.com/django/django/blob/master/django/http/multipartparser.py
but I cannot find any docs on how to use it and I can't figure out how
to use it.

How can I get the content type headers from each part?
Reply all
Reply to author
Forward
0 new messages