You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 6, 2018. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 6, 2018. It is now read-only.
I'm in favor of just supporting objects. However I remember somehow from this morning that the goal is to support as much of the old behaviour as possible. What do you think @nodejs/http2 ?
🤔 Is this issue discussing server push support or header API compatibility?
The compatibility layer in #47 tries to stay true to the documented APIs, for headers on the request and response. Cookies are not yet supported. I don't think it's prohibitively difficult but would rather leave it for a separate PR.
FWIW, core currently uses an Object for headers and trailers. That could be changed to using a Map or linked list.
Activity
[-]http2: status of push[/-][+]http2: status of push API[/+]robertkowalski commentedon May 4, 2017
Question: Do we want to support legacy APIs?
test-http-set-cookies.jsuses a currently not documented way to set headers (note the nested array instead of a flat object):I'm in favor of just supporting objects. However I remember somehow from this morning that the goal is to support as much of the old behaviour as possible. What do you think @nodejs/http2 ?
mcollina commentedon May 4, 2017
@robertkowalski I'd focus on documented behavior.
jasnell commentedon May 5, 2017
For now, definitely focus on documented behavior. We can revisit this once we have that done and working.
sebdeckers commentedon May 6, 2017
🤔 Is this issue discussing server push support or header API compatibility?
The compatibility layer in #47 tries to stay true to the documented APIs, for headers on the request and response. Cookies are not yet supported. I don't think it's prohibitively difficult but would rather leave it for a separate PR.
FWIW, core currently uses an Object for headers and trailers. That could be changed to using a Map or linked list.
mcollina commentedon May 19, 2017
I think we can close this now.