We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac25fae commit cf05936Copy full SHA for cf05936
graphql.go
@@ -443,7 +443,7 @@ func (c *Client) doRequest(
443
444
resp := c.doHttpRequest(ctx, reqReader)
445
446
- if options != nil && options.headers != nil {
+ if options != nil && options.headers != nil && resp.response != nil {
447
for key, values := range resp.response.Header {
448
for _, value := range values {
449
options.headers.Add(key, value)
0 commit comments