-
|
The timing starts after the program processes the response body and ends after the assignment is completed, result: This is much slower than obtaining the response body. Is this normal? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
|
You would need to provide more context. This would be expected if the content-encoding is gzip or some other compression, because compression is a lot slower than decompression by design. ( Depending on what you're doing (if the client will accept uncompressed data) it could be faster to strip the header and set the raw bytes. |
Beta Was this translation helpful? Give feedback.
You would need to provide more context. This would be expected if the content-encoding is gzip or some other compression, because compression is a lot slower than decompression by design.
(
.contentwill transparently decode/encode.raw_contentdepending on the content-encoding header)Depending on what you're doing (if the client will accept uncompressed data) it could be faster to strip the header and set the raw bytes.