Files
penpot/backend
Andrey Antukh 8d703a3fb4 Write transit data to response output-stream.
Previously, all responses from GET and POST requests are serialized
to a byte array (using transit) which is returned as response body.

With this commit, the response body of POST requests is written
directly to the response output-stream, reducing the memmory need
to perform that operation.

The responses for GET request still uses the old mechanism because
we need the whole response as byte array for calculate the ETAG and
check it before returning the body.
2021-06-11 12:36:21 +02:00
..
2021-05-31 11:04:32 +02:00
2021-05-31 11:04:32 +02:00
2020-06-16 15:40:13 +02:00
2021-05-31 11:04:32 +02:00
2020-12-21 16:55:54 +01:00