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"

Which version of jetty and can you post the capture of the whole request?

Jan

On 3 May 2014 16:16, 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
>



-- 
Jan Bartel <janb@xxxxxxxxxxx>
www.webtide.com
'Expert Jetty/CometD developer,production,operations advice'


Back to the top