Skip to content
This repository was archived by the owner on Jul 6, 2018. It is now read-only.
This repository was archived by the owner on Jul 6, 2018. It is now read-only.

http2: status of push API #67

Description

@mcollina

placeholder from the collab summit in Berlin

Activity

  1. changed the title [-]http2: status of push[/-] [+]http2: status of push API[/+] on May 4, 2017
  2. robertkowalski commented on May 4, 2017

    @robertkowalski
    Contributor

    Question: Do we want to support legacy APIs?

    test-http-set-cookies.js uses a currently not documented way to set headers (note the nested array instead of a flat object):

        res.writeHead(200, [['set-cookie', 'A'],
                            ['set-cookie', 'B'],
                            ['content-type', 'text/plain']]);

    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 ?

  3. mcollina commented on May 4, 2017

    @mcollina
    SponsorMemberAuthor

    @robertkowalski I'd focus on documented behavior.

  4. jasnell commented on May 5, 2017

    @jasnell
    Member

    For now, definitely focus on documented behavior. We can revisit this once we have that done and working.

  5. sebdeckers commented on May 6, 2017

    @sebdeckers
    Contributor

    🤔 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.

  6. mcollina commented on May 19, 2017

    @mcollina
    SponsorMemberAuthor

    I think we can close this now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions