How are file uploads done in Pyramid?
I have tried to access the file from request.POST['fileupload'] and request.params['fileupload'] using this html form:
<form action="/upload" target="fileupload-frame" method="POST" enctype="multipart/form-data">
<input type="file" id="fileupload" name="fileupload">
</form>
I have tried printing out all the keys in the request, but I cannot find the file anywhere.
Thanks,
Jason