content-length 재사용
HTTP는 각 헤더의 길이에 미리 정의된 제한을 두지 않습니다.
특정 조건에 따른 임시 제한 상황이 존재하기도 함.
서버에서 설정한 필드의 길이보다 많은 필드가 요청되면 서버는 적절한 클라이언트 에러(4xx)를 응답해야함.
클라이언트는 처리하려는 것보다 크다면, 수신된 헤더 필드를 버리거나 자를 수 있음
token = 1*tchar
tchar = "!" / "#" / "$" / "%" / "&" / "'" / "*"
/ "+" / "-" / "." / "^" / "_" / "`" / "|" / "~"
/ DIGIT / ALPHA
; any VCHAR, except delimiters
일부 필드에 주석이 포함될 수 있습니다 (예 : User-Agent, Server...)
comment = "(" *( ctext / quoted-pair / comment ) ")"
ctext = HTAB / SP / %x21-27 / %x2A-5B / %x5D-7E / obs-text
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:50.0) Gecko/20100101 Firefox/50.0
백슬래시 옥텟("\\")은 단일 옥텟 따옴표로 사용할 수 있습니다.
인용 문자열 및 주석 구조 내의 메커니즘. 수신자
인용 문자열의 값을 처리하는 것은 인용 쌍을 처리해야 합니다.
백슬래시 다음에 오는 옥텟으로 대체된 것처럼.
인용 쌍 = "\\" ( HTAB / SP / VCHAR / obs-text )
발신자는 다음을 제외하고 인용 문자열에서 인용 쌍을 생성해서는 안 됩니다(SHOULD NOT).
DQUOTE 및 백슬래시 옥텟을 인용해야 하는 경우
그 문자열. 발신자는 주석에서 인용 쌍을 생성해서는 안 됩니다(SHOULD NOT).
괄호 ["(" 및 ")"]를 인용해야 하는 경우를 제외하고
해당 주석 내에서 발생하는 백슬래시 옥텟.
The backslash octet ("\\") can be used as a single-octet quoting
mechanism within quoted-string and comment constructs. Recipients
that process the value of a quoted-string MUST handle a quoted-pair
as if it were replaced by the octet following the backslash.
quoted-pair = "\\" ( HTAB / SP / VCHAR / obs-text )
A sender SHOULD NOT generate a quoted-pair in a quoted-string except
where necessary to quote DQUOTE and backslash octets occurring within
that string. A sender SHOULD NOT generate a quoted-pair in a comment
except where necessary to quote parentheses ["(" and ")"] and
backslash octets occurring within that comment.