Skip to content

Creating new request & response objects could be easier #771

Closed
@jakearchibald

Description

@jakearchibald

In specs, if I want to create a new request, I'm creating the request object, then creating the headers object, then hooking the two up.

With responses it's slightly more complicated, as I need to deal with the trailer promise too.

Is this worth simplifying?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions