Project

General

Profile

Defect #735

File upload via HTTP PUT method fails

Added by Marc Boegem over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Category:
velocity
Target version:
-
Start date:
09/18/2013
Due date:
% Done:

0%

Estimated time:
Browser (if web client):

Description

Recently the possibility to send a HTTP PUT where the body was parsed into the params has been added to the plugin.
Unfortunately I bumped into an issue trying to do a file upload.

The plugin complains about wrong characters.
Is this something that can be solved?


Files

velocity_media_PUT_error.html (6.72 KB) velocity_media_PUT_error.html Marc Boegem, 09/19/2013 10:05 PM

History

#1

Updated by Patrick Talbot over 10 years ago

  • Status changed from New to In Progress

So in some cases you're passing parameters, in some other cases, the body of your request is File binaries, is that it?
I guess that in the second case, it could cause problem if Velocity is trying to decode these parameters...

Where does the plugin complains, BTW? Is that an error in the servoy log?
Or something you get when you try to access the request.parameters?

#2

Updated by Marc Boegem over 10 years ago

Yes, basically it's a PUT of a form containing a file-type field.

I don't see any complains in the log, but instead I get the error in the response.
But this response is being generated by the plugin, as the request don't even hits my code.

I've attached the response I get.
Hope this clarifies it a bit.

#3

Updated by Patrick Talbot over 10 years ago

  • Status changed from In Progress to Closed

Fixed in v3.2.4

Also available in: Atom PDF