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

Ticket #276 (closed editorial: incorporated)

Opened 4 years ago

Last modified 3 years ago

untangle ABNFs for header fields

Reported by: julian.reschke@gmx.de Owned by: julian.reschke@gmx.de
Priority: normal Milestone: 14
Component: non-specific Severity: Active WG Document
Keywords: Cc:
Origin:

Description

Currently, we use ABNF to enumerate header fields. This doesn't reflect how parsing a message works: it generates a set of field names and values, and only after that, field values are parsed according to *that* headers specific ABNF.

Get rid of these ABNF productions, and replace them with simple Overview tables.

Change History

comment:1 Changed 4 years ago by julian.reschke@gmx.de

  • Owner set to julian.reschke@gmx.de

comment:2 Changed 4 years ago by julian.reschke@gmx.de

From [1138]:

remove header field ABNF dependencies; replace with Overview tables (see #276)

comment:3 Changed 4 years ago by julian.reschke@gmx.de

ABNF productions removed.

We should discuss whether we also want to simplify the individual header ABNFs to just define the header field value's grammar.

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

From [1167]:

remove unused ABNF imports (see #276)

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

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

comment:6 Changed 3 years ago by julian.reschke@greenbytes.de

We currently have:

  A   = "fieldname" ":" OWS A-v
  A-v = ...

But Part 1 says:

  header-field   = field-name ":" OWS [ field-value ] OWS

So trailing OWS is not part of the header field value.

So if we keep the A/A-v notation, don't we need to add OWS to the end?

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

  • Milestone changed from 13 to 14

Prague 2011 editors discussion: remove the "A" form; it's not really needed; drop it and only use the "A-v" form (the ABNF for the field value), and drop the "-v".

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

  • Status changed from closed to reopened
  • Resolution incorporated deleted

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

From [1230]:

rewrite header field ABNFs to only specify the field value (see #276)

comment:10 Changed 3 years ago by julian.reschke@gmx.de

From [1231]:

rewrite header field ABNFs to only specify the field value (see #276)

comment:11 Changed 3 years ago by julian.reschke@gmx.de

From [1232]:

rewrite header field ABNFs to only specify the field value (see #276)

comment:12 Changed 3 years ago by julian.reschke@gmx.de

From [1233]:

rewrite header field ABNFs to only specify the field value (see #276)

comment:13 Changed 3 years ago by julian.reschke@gmx.de

From [1234]:

rewrite header field ABNFs to only specify the field value (see #276)

comment:14 Changed 3 years ago by julian.reschke@gmx.de

From [1235]:

rewrite header field ABNFs to only specify the field value (see #276)

comment:15 Changed 3 years ago by julian.reschke@gmx.de

From [1236]:

rewrite header field ABNFs to only specify the field value (see #276)

comment:16 Changed 3 years ago by julian.reschke@gmx.de

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