+13
−1
Loading
* Prevent reading the entire body of a request if unnecessary
Prior to this, we were reading an entire UNSIGNED_PAYLOAD request into
memory, even though this was not required for verification of the
signature.
* Expose the xml serialization of Errors to build HTTP Responses
Exposing this code allows more ergonomic creation of middleware,
benefitting from the existing code in s3s to serialize HTTP responses on
errors within middleware to get consistent, "S3-Style" XML bodies for
clients to consume
---------
Co-authored-by:
Rupert Rutledge <rupertr@thestartupfactory.tech>