Subject: Re: [httpwg/http-extensions] Identifying top-level data types (#476)

From: HTTP issue updates <[email-masked]>
Date: Wed, 28 Mar 2018 06:25:12 +0000 (UTC)

FWIW, I think the main downside of this is that we cannot offer a simple JavaScript API in the form of `.get(headerName)` that returns the appropriate object. Instead callers will always have to supply the expected type as well (i.e., `get(headerName, headerType)`). (Or we'd have to have built-in support for header name <> type mapping, but that doesn't scale and will lead to all kinds of interoperability issues.)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/httpwg/http-extensions/issues/476#issuecomment-376775762