google-code-export / yabi

Automatically exported from code.google.com/p/yabi
0 stars 1 forks source link

Yabi-admin verify file download encoding #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

We need to verify that the encoding issue encountered previously is not an 
issue for downloads. Previous explanation below:

Hi Adam,

YABI Admin returns a 500 when I send this request:

$ curl --data-binary @http_req_new.raw -H "Content-Type: multipart/form-data; 
boundary=----------ThIs_Is_tHe_bouNdaRY_$" -H "Content-Length: 552"  
http://localhost:19002/ws/fs/put --trace-ascii out.txt
where http_req_new.raw is the file attached. ** You can see what curl exactly 
sends in the out.txt file after you issued the command
I've created a simple Django view in Mambo-MS (that uses Mango as well) and it 
works there without any problems.

$ curl --data-binary @http_req_new.raw -H "Content-Type: multipart/form-data; 
boundary=----------ThIs_Is_tHe_bouNdaRY_$" -H "Content-Length: 552"  
http://localhost:8000/mamboms/post_test/ --trace-ascii out.txt
Django request is built properly in this case, I can access the posted params 
and the files without any problems.

Regards,

Tamas

Original issue reported on code.google.com by ahunter.ccg@gmail.com on 6 Jul 2011 at 8:59

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by aahun...@gmail.com on 29 Jul 2011 at 2:59

GoogleCodeExporter commented 9 years ago

Original comment by aahun...@gmail.com on 29 Jul 2011 at 2:59

GoogleCodeExporter commented 9 years ago

Original comment by aahun...@gmail.com on 2 Feb 2012 at 3:07

GoogleCodeExporter commented 9 years ago

Original comment by aahun...@gmail.com on 27 Feb 2012 at 2:04

GoogleCodeExporter commented 9 years ago
Re-tested and not an issue anymore.

Original comment by szab...@gmail.com on 29 Feb 2012 at 2:19