Not sure if this is a Jetty problem or Chrome.

I’m trying to upload data using the HTML5 FormData object.

The content type when it reaches the server is

multipart/form-data; boundary=----WebKitFormBoundaryj2AVe6APfo5cJd0R

which causes Jetty to first warn:

WARN  org.eclipse.jetty.util.MultiPartInputStreamParser  - Badly
formatted multipart request

and then throw this exception:

java.io.IOException: Missing initial multi part boundary
        at 
org.eclipse.jetty.util.MultiPartInputStreamParser.parse(MultiPartInputStreamParser.java:515)
        at 
org.eclipse.jetty.util.MultiPartInputStreamParser.getParts(MultiPartInputStreamParser.java:408)
        at org.eclipse.jetty.server.Request.getParts(Request.java:2121)

Any idea?
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to