mirror of
https://github.com/google/nomulus.git
synced 2025-05-02 04:57:51 +02:00
According to RFC 2046, the body of the multipart contains: multipart-body := [preamble CRLF] dash-boundary transport-padding CRLF body-part *encapsulation close-delimiter transport-padding [CRLF epilogue] The preemble and epilogue are optional, and ignored. However, it's not 100% explicit whether the CRLFs after the preamble and before the epilogue are required. The one after the preemble is often not given if there's no preemble, so it's conceivable that you don't *have* to give the CRLF before the epilogue if there's no epilogue (it's also enclosed in the [], making it part of the "optional") However, it seems that when the TMDB "migrated to the cloud" (as they describe it) on Aug. 13 2018, they started requiring that CRLF. TESTED=connected to a TMDB-whitelisted server, used CURL to manually create the message as we currently send it (without the final CRLF) with junk data and got the error from the bug. Then sent the exact same message with the additional CRLF, and got a different error that directly relates to the content of the junk data. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=212637246 |
||
---|---|---|
.. | ||
com/google/testing/builddefs | ||
google/registry |