What are the numbers that come before and after the response body?
Sometimes I get the last number and sometimes I do not.
HTTP/1.1 200 OK
Date: Mon, 01 Jan 2021 00:01:01 GMT
Content-Type: text/plain; charset=utf-8
Server: Kestrel
Transfer-Encoding: chunked
Expires: 0
16 <-------------------- this number
API Version 1.0 <------- the actual response body
0 <-------------------- and this number
The request was:
printf 'GET / HTTP/1.1\r\nHost:HOST\r\n\r\n' | nc -i 3 -v HOST 80