graphql-client icon indicating copy to clipboard operation
graphql-client copied to clipboard

reponse headers are ignored.

Open gjselten opened this issue 6 years ago • 1 comments

When using this graphql client, i am unable to get the response headers. Only the response body is parsed and returned:

https://github.com/github/graphql-client/blob/a0f782c6edccdebdaaf31020b4597331675239ad/lib/graphql/client/http.rb#L76

This is inconvenient as headers might contain useful information.

gjselten avatar Aug 10 '18 08:08 gjselten

I've been struggling myself with this issue and I think we should fine a path to fix it.

Linking items, https://github.com/github/graphql-client/pull/249 has an attempt for it.

tjoyal avatar Sep 15 '20 11:09 tjoyal