Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

HTTP Header Content-Length question?

Im capturing traces using WireShark and I have a question about the basic syntax for the items in the header (Content-Length, Accept, Host, etc).

The syntax I see is:

Content-Length: 10/n/r for example

Are the fields case sensitive (must be as above) or can it be:

content-length: 10

Also is the space between the : and the length (10) required or can it be:

Content-Length:10

I need to parse these fields and I need to know this.

1 Answer

Relevance
Still have questions? Get your answers by asking now.