Use SwiftNIO HTTPHeaders parser to parse multipart header fields?

i am trying to implement multipart/form-data HTTP requests, and now need to parse the per-part HTTP headers:

Content-Disposition: form-data; name="file1"; filename="test.txt"
Content-Type: application/octet-stream

is there a way to re-use SwiftNIO’s HTTP header parser for this?

i see. i did not expect to be spending this much time on something this simple; it seems we don’t have any existing multipart parsers that don’t depend on Foundation :(