feat(put multipart): add parsing for multipart content with methods other than POST#107
feat(put multipart): add parsing for multipart content with methods other than POST#107dariok wants to merge 3 commits into
Conversation
Refactor body processing to handle XML declarations correctly.
|
This patch is still necessary in eXist 7.0.0-Beta3 due to several problems in both eXist and roaster.
|
|
Actually, this doesn’t help any more as everything’s just too broken. With eXist 7.0.0Beta3, if a multipart-upload has been made, This means, I cannot parse the data that has been uploaded and create a useful map. But, as said, eXist doesn’t really do a good job of parsing multipart uploads. |
|
To track the upstream issues in eXist, I opened new issues there:
When both are fixed, this PR will be obsolete. As the request data are gone due to the attempt at parsing (cf. eXist-db/exist#1536 (comment)), there is not way to PUT data. |
As described in #104, eXist does not currently parse multipart content for anything but POST requests.
When PUTing multipart content, roaster will fail as it cannot find the required parameters.
This PR adds parsing of multipart content for other request types, creating a structure basically identical to that of eXist’s native parsing.