W3C home > Mailing lists > Public > ietf-http-wg@w3.org > October to December 2016

Re: rfc5987bis and common structure | Re: New Version Notification for draft-kamp-httpbis-structure-00.txt (fwd)

From: Kari Hurtta <hurtta-ietf@elmme-mailer.org>
Date: Sat, 15 Oct 2016 11:20:47 +0300 (EEST)
Message-Id: <201610150820.u9F8KlU6025186@shell.siilo.fmi.fi>
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

This archive was generated by hypermail 2.3.1 : Saturday, 15 October 2016 08:21:22 UTC