This repository was archived by the owner on Nov 6, 2022. It is now read-only.
This repository was archived by the owner on Nov 6, 2022. It is now read-only.
Public API for starting in the headers-state #108
Closed
Description
Multipart bodies are almost like a HTTP req/res; they just don't have status line:
------------0xKhTmLbOuNdArY
Content-Disposition: form-data; name="text1"
hallo welt test123
------------0xKhTmLbOuNdArY
Content-Disposition: form-data; name="text2"
------------0xKhTmLbOuNdArY
Content-Disposition: form-data; name="upload"; filename="hello.pl"
Content-Type: application/octet-stream
#!/usr/bin/perl
use strict;
use warnings;
print "Hello World :)\n"
------------0xKhTmLbOuNdArY--
It would be nice if it was possible parse these headers (the body would just appear as a streaming/EOF-detected body) using http-parser.
Metadata
Metadata
Assignees
Labels
No labels