luxin88 / chrome-rest-client

Automatically exported from code.google.com/p/chrome-rest-client
0 stars 0 forks source link

Saved requests in multipart form data (file upload requests) will be loaded with payload form parameters encoded #254

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a multipart/form-data request with some form parameters
2. Save it or include a file to upload
3. Reload this request from the Projects list or change back from file upload 
to form data parameters panel

What is the expected output? What do you see instead?
The expected result is to show the list of parameters still in their 
not-encoded format. Instead, I have all the parameters already encoded and if I 
resend the request a double encoding is performed. I have to reenter all the 
parameters in order to have them correctly sended. Also, no file is remebered 
in the "Files" panel.

On what operating system, browser and browser version?
OS: Windows Seven Home Premium Service Pack 1 64-bit architecture
Browser: Google Chrome 34.0.1847.131 m version.

Please provide any additional information below.
In general, when reloading this kind of requests, 
"application/x-www-form-urlencoded" is selected by default and mutipart 
boundaries are wrong.

Original issue reported on code.google.com by andrea.c...@gmail.com on 2 May 2014 at 4:07