Skip to content

Ability to add custom headers to the request #28

@sebastianmacias

Description

@sebastianmacias

Currently the only header being set is the content type:

/shurcooL/go/ctxhttp/ctxhttp.go:83

req.Header.Set("Content-Type", bodyType)

It would be helpful to allow setting custom headers in addition to the content-type since some graphql servers use headers for auth tokens and setting other variables.

Thanks

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