Skip to content

http server can't handle multipart/form-data -- common for file uploads #494

Closed
@hoisie

Description

@hoisie
If you try to upload a large file in the http server with any browser, you 
get an error along the lines of:

Failed to parse form data "unknown Content-Type \"multipart/form-data; 
boundary=----WebKitFormBoundaryYcAKGBO01R4EDsKa\""

For large files, most browsers split the upload into smaller pieces. 

You can test this by creating a site such as:

<h3> By File Upload </h3> 
<form enctype="multipart/form-data" action="/file"
method="POST"> 
Choose:
<input name="uploadedfile" type="file" /><br /> <br
/> 
<input type="submit" value="Upload File" /> 
</form>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions