Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] "Badly formatted multipart request"

Nevermind, this was caused by a fault in HTML form.


On Sat, May 3, 2014 at 11:51 AM, Joakim Erdfelt <joakim@xxxxxxxxxxx> wrote:
Which version of Chrome?

--
Joakim Erdfelt <joakim@xxxxxxxxxxx>
Expert advice, services and support from from the Jetty & CometD experts


On Fri, May 2, 2014 at 11:16 PM, Nils Kilden-Pedersen <nilskp@xxxxxxxxx> wrote:

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
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users



_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users



Back to the top