shurcooL / graphql

Package graphql provides a GraphQL client implementation.
MIT License
709 stars 282 forks source link

graphql: add ability to make requests with specific accept headers #64

Closed aanm closed 9 months ago

aanm commented 3 years ago

This allows to make usages of some GitHub preview features.

Signed-off-by: André Martins aanm90@gmail.com

andig commented 3 years ago

I have the problem that a server I'm working against expects specific headers. Instead of this PR I'd suggest adding a request factory that allows to modify the entire request. PR to follow.