pyramid icon indicating copy to clipboard operation
pyramid copied to clipboard

Documentation for POST file uploads

Open kpinc opened this issue 11 years ago • 2 comments

Hi,

There does not seem to be much documentation for file uploads. Ideally something should be added in request.POST in the API docs.

There is an example in the cookbook, but it does not tell all. Specifically, what read mode was used to open the fileobject? Logic says 'rb' is the only universal choice, but this requires thought.

kpinc avatar Oct 12 '13 10:10 kpinc

The cookbook entry referred to in the OP:

http://docs.pylonsproject.org/projects/pyramid-cookbook/en/latest/static_assets/files.html#basic-file-uploads

mcdonc avatar Apr 13 '15 17:04 mcdonc

Current link: https://docs.pylonsproject.org/projects/pyramid_cookbook/en/latest/static_assets/uploading-files.html

merwok avatar Jul 02 '20 21:07 merwok