I don't know of any source that explicitly says why the double quotes are required.
What we can say, though, is that the value of the ETag
header includes metadata in addition to the entity tag itself. Specifically, when the value starts with the string W/
it means that the following entity tag should be considered weak.
So there has to be some way to distinguish the value from the metadata. There are many possible solutions. They could have left off the quotes, but then there would have to be a magic character sequence for the metadata, and probably some escaping mechanism for when the entity tag happened to include those characters.
The approach taken in the standard is simple, readable, uses familiar delimiting characters, and is fast to parse. Indeed, we have a clue that the last part is important since there are no escape sequences (meaning that "
is not itself allowed in the internal part of the tag).