Opened 15 years ago
Closed 14 years ago
#94 closed editorial (fixed)
Reason-Phrase BNF
Reported by: | mnot@… | Owned by: | |
---|---|---|---|
Priority: | Milestone: | 06 | |
Component: | p1-messaging | Severity: | |
Keywords: | Cc: |
Description
Looking at...:
TEXT = <any OCTET except CTLs, but including LWS> LWS = [CRLF] 1*( SP | HT ) CRLF = CR LF Reason-Phrase = *<TEXT, excluding CR, LF>
So was the real intent to say: any OCTET except CTLs?
Change History (9)
comment:1 Changed 15 years ago by mnot@…
- Component set to auth
- Milestone set to unassigned
comment:2 Changed 15 years ago by mnot@…
- Component changed from auth to messaging
comment:3 Changed 15 years ago by mnot@…
- Type changed from design to editorial
comment:4 Changed 14 years ago by ylafon@…
- Milestone changed from unassigned to 06
comment:5 Changed 14 years ago by mnot@…
comment:6 Changed 14 years ago by fielding@…
comment:7 Changed 14 years ago by julian.reschke@…
- Resolution set to fixed
- Status changed from new to closed
comment:8 Changed 14 years ago by julian.reschke@…
- Resolution fixed deleted
- Status changed from closed to reopened
re-open until reviewed
comment:9 Changed 14 years ago by julian.reschke@…
- Resolution set to fixed
- Status changed from reopened to closed
Note: See
TracTickets for help on using
tickets.
The plan is to remove the TEXT rule (and associated commentary) altogether, and replace it with instances that call out the specific legal octets and how to interpret them.
They are;
1) field-content (p1)
---8<---
Historically, HTTP has allowed field-content with text in the ISO-8859-1 charset (allowing other charsets through use of RFC2047 encoding). In practice, most HTTP header field-values are a subset of the ASCII charset, and newly defined headers SHOULD constrain their field-values to ASCII characters. Recipients SHOULD treat obs-text characters in header field-content as raw octets. --->8---
2) comment (p1)
---8<--- ctext = *( OWS / %x21-27 / %x2A-7E / obs-text ) --->8---
Note that OWS is Optional White Space, like LWS (work in progress).
3) quoted-string
---8<--- qdtext = *( OWS / %x21 / %x23-5B / %x5D-7E / obs-text ) --->8---
4) reason-phrase (p1/p2)
---8<--- Reason-Phrase = *( VCHAR / WSP / obs-text ) --->8---
Note that this also resolves the editorial issue #94 (Reason-Phrase BNF).