- From: Kari Hurtta <hurtta-ietf@elmme-mailer.org>
- Date: Sat, 15 Oct 2016 11:20:47 +0300 (EEST)
- To: Poul-Henning Kamp <phk@phk.freebsd.dk>
- CC: Kari Hurtta <hurtta-ietf@elmme-mailer.org>, HTTP working group mailing list <ietf-http-wg@w3.org>
Poul-Henning Kamp <phk@phk.freebsd.dk>: (Sat Oct 15 09:57:10 2016) > -------- > In message <20161015064524.C9FD612BE0@welho-filter3.welho.com>, Kari Hurtta wri > tes: > > >Perhaps structure from > > > >Indicating Character Encoding and Language for HTTP Header Field Parameters > >https://tools.ietf.org/html/draft-ietf-httpbis-rfc5987bis-03 > >should also be parseable as common structure ? > > It would be an unnecessary complication of Common Structure. > > Just add a lang="....." element to your dictionary if you need it. Headers which may use rfc5987bis are then "uncommon structure". Appendix B. Implementation Report https://tools.ietf.org/html/draft-ietf-httpbis-rfc5987bis-03#appendix-B | The encoding defined in this document currently is used for two | different HTTP header fields: | | o "Authorization" (as used in HTTP Digest Authentication, defined in | [RFC7616]), | | o "Content-Disposition", defined in [RFC6266], and | | o "Link", defined in [RFC5988]. Appendix C. RFC723x headers with "uncommon structure" https://tools.ietf.org/html/draft-kamp-httpbis-structure-00#appendix-C | Authorization [RFC7235, Section 4.2] ok "Content-Disposition" and "Link" are not mentioned on draft-kamp-httpbis-structure. Someone may think that "Content-Disposition" is "common structure": Use of the Content-Disposition Header Field in the Hypertext Transfer Protocol (HTTP) https://tools.ietf.org/html/rfc6266 4.1. Grammar https://tools.ietf.org/html/rfc6266#section-4.1 | content-disposition = "Content-Disposition" ":" | disposition-type *( ";" disposition-parm ) | | disposition-type = "inline" | "attachment" | disp-ext-type | ; case-insensitive | disp-ext-type = token | | disposition-parm = filename-parm | disp-ext-parm | | filename-parm = "filename" "=" value | | "filename*" "=" ext-value | | disp-ext-parm = token "=" value | | ext-token "=" ext-value | ext-token = <the characters in token, followed by "*"> / Kari Hurtta
Received on Saturday, 15 October 2016 08:21:21 UTC