Hey folks,
I put together a pull request a while back for having the dispatcher handle a request in the form of a multi part form upload, kind of the same way it handles regular form uploads (ie. application/x-www-form-urlencoded).
https://github.com/geoserver/geoserver/pull/739
The way it works is as follows:
If a form field marked as a file exists, it is interpreted as the payload
If no form field marked as file exists, and one named “body” exists, it interprets it as the payload
All other form fields are interpreted as additional key value pairs.
Feedback?
Thanks.
-Justin
–
Justin Deoliveira
VP Engineering | Boundless
jdeolive@anonymised.com
@boundlessgeo
jive
September 29, 2014, 7:55pm
2
+1 That would be handy, and now is the time.
···
Jody Garnett
On Mon, Sep 29, 2014 at 12:32 PM, Justin Deoliveira <jdeolive@anonymised.com > wrote:
Hey folks,
I put together a pull request a while back for having the dispatcher handle a request in the form of a multi part form upload, kind of the same way it handles regular form uploads (ie. application/x-www-form-urlencoded).
https://github.com/geoserver/geoserver/pull/739
The way it works is as follows:
If a form field marked as a file exists, it is interpreted as the payload
If no form field marked as file exists, and one named “body” exists, it interprets it as the payload
All other form fields are interpreted as additional key value pairs.
Feedback?
Thanks.
-Justin
–
Justin Deoliveira
VP Engineering | Boundless
jdeolive@anonymised.com9…
@boundlessgeo
Slashdot TV. Videos for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
Ok, this has been merged into master. I would like to backport to 2.6.x but I can wait on that.
···
On Mon, Sep 29, 2014 at 1:55 PM, Jody Garnett <jody.garnett@anonymised.com > wrote:
+1 That would be handy, and now is the time.
Jody
–
Justin Deoliveira
VP Engineering | Boundless
jdeolive@anonymised.com
@boundlessgeo
Jody Garnett
On Mon, Sep 29, 2014 at 12:32 PM, Justin Deoliveira <jdeolive@anonymised.com > wrote:
Hey folks,
I put together a pull request a while back for having the dispatcher handle a request in the form of a multi part form upload, kind of the same way it handles regular form uploads (ie. application/x-www-form-urlencoded).
https://github.com/geoserver/geoserver/pull/739
The way it works is as follows:
If a form field marked as a file exists, it is interpreted as the payload
If no form field marked as file exists, and one named “body” exists, it interprets it as the payload
All other form fields are interpreted as additional key value pairs.
Feedback?
Thanks.
-Justin
–
Justin Deoliveira
VP Engineering | Boundless
jdeolive@anonymised.com
@boundlessgeo
Slashdot TV. Videos for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel