* WGs marked with an * asterisk has had at least one new draft made available during the last 5 days

Ticket #94 (closed editorial: fixed)

Opened 7 years ago

Last modified 5 years ago

Reason-Phrase BNF

Reported by: mnot@pobox.com Owned by:
Priority: Milestone: 06
Component: p1-messaging Severity:
Keywords: Cc:
Origin: http://www.w3.org/mid/4746FBB2.4050703@gmx.de

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

comment:1 Changed 7 years ago by mnot@pobox.com

  • Component set to auth
  • Milestone set to unassigned

comment:2 Changed 7 years ago by mnot@pobox.com

  • Component changed from auth to messaging

comment:3 Changed 6 years ago by mnot@pobox.com

  • Type changed from design to editorial

comment:4 Changed 6 years ago by ylafon@w3.org

  • Milestone changed from unassigned to 06

comment:5 Changed 6 years ago by mnot@pobox.com

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<---

field-content = *( VCHAR / WSP / obs-text ) obs-text = %x80-FF

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).

comment:6 Changed 6 years ago by fielding@gbiv.com

From [395]:

Deprecate line folding, addresses #77. Require that invalid whitespace around field-names be rejected, addresses #30. Make non-ASCII content obsolete and opaque in header fields and reason phrase, addresses #63, #74, #94, #111.

comment:7 Changed 6 years ago by julian.reschke@gmx.de

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in [398]:

Resolve #63, #74, #94, #111: Issues around TEXT rule closed with revision [395] (closes #63, #74, #94, #111)

comment:8 Changed 6 years ago by julian.reschke@gmx.de

  • Status changed from closed to reopened
  • Resolution fixed deleted

re-open until reviewed

comment:9 Changed 5 years ago by julian.reschke@gmx.de

  • Status changed from reopened to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.