I'm trying to create an iOS app that can post multipart forms to Django. 
(JSON is trivial, wish it worked with file uploads. :-)

What is the proper format for the HTTP request when passing arrays of 
values? (Strings is all I care about at the moment)

I think PHP has the follow style. What is the Django equivalent? I tried 
reading through the sources, but it wasn't obvious.

Thanks,

     Greg

*--Boundary-56A500AE-D543-43BD-93F0-6A1721A73F70*

*Content-Disposition: form-data; name="array[]"*


*one*

*--Boundary-56A500AE-D543-43BD-93F0-6A1721A73F70*

*Content-Disposition: form-data; name="array[]"*


*two*

*--Boundary-56A500AE-D543-43BD-93F0-6A1721A73F70*

*Content-Disposition: form-data; name="array[]"*


*three*

*--Boundary-56A500AE-D543-43BD-93F0-6A1721A73F70*


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/4d999852-b1eb-4b39-bbb3-46606a77d0c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to