morgan icon indicating copy to clipboard operation
morgan copied to clipboard

Size of response with no 'content-length' header

Open Nokel81 opened this issue 8 years ago • 7 comments

Is it possible for a tag to be added that uses 'content-length' is the type of the data sent is not in chunks and a chunk size indicator when the data is sent in chunks?

Nokel81 avatar Apr 07 '16 14:04 Nokel81

It probably could. Please create a pull request and we'd be happy to take a look & accept!

dougwilson avatar May 28 '16 03:05 dougwilson

I would like to raise a pr if no ones working on this

any rough idea on how the tag to be named?

mum-never-proud avatar Mar 29 '20 01:03 mum-never-proud

computed-size?

It could even default to size if that was provided.

Nokel81 avatar Mar 29 '20 02:03 Nokel81

hmm, but how computed-size can help differentiate between a response is in chunks or not?

may I didn't get your point on this could you please explain

::1 - - [28/Mar/2020:16:19:54 +0000] "GET / HTTP/1.1" 200 - "-" "insomnia/7.1.1"

having this as the response how can we differentiate the response is chunked or not

thanks!

can we make use of Transferred-Encoding header here to highlight the type of transfer?

mum-never-proud avatar Mar 29 '20 02:03 mum-never-proud

Probably, I was more thinking of how to get the information of the computed size to the user

Nokel81 avatar Mar 30 '20 14:03 Nokel81

@dougwilson any pointers on this?

mum-never-proud avatar Apr 14 '20 13:04 mum-never-proud

Just raise the PR; if there is some issue with the choosen token name it can be addressed in review :+1:

dougwilson avatar Apr 14 '20 13:04 dougwilson