http-types icon indicating copy to clipboard operation
http-types copied to clipboard

optimize into_bytes buffer and into_json capacity by body len

Open qwerty2501 opened this issue 3 years ago • 0 comments

On read as body is big file, read_to_end is too slowly. Therefor capacity depends on Body.len() like a into_string()

qwerty2501 avatar Jul 14 '22 15:07 qwerty2501