I've been trying to use params and specify multipart/form-data, but it
always gets output as application/x-www-form-urlencoded. I saw a reference
to this problem(?) from Ilya in the archive:
Has this been confirmed as a bug? Is there a work-around? Is it possible
to force the Content Type, regardless of whether a file upload is involved?
Here's the relevant snip from my test:
'translate text document from local file',
'file', ['C:\WebTestFiles\inputara.txt', 'C:\WebTestFiles\inputara.txt'],
I can see the file data and the parameters in the request, but the Content
Type is always wrong and the response is not correct. This is true, even
when I explicitly state the Content Type in the list for 'file'.
I use syntax similar to the snip above for other forms that do not upload a
file. These test work, even though the Content Type is output incorrectly.
Any help is appreciated.