Replies: 2 comments
-
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What happened?
I've switch to HTTP GET requests to make cache with Cloudflare a little bit easier, however the responses to my queries are now being returned with a Content-Type of
text/plain; charset=utf-8
.Seem like the header could easily be added in
transport/http_get.go
like it is intransport/http_post.go
considering both exec writeJson at the bottom of their funcs.What did you expect?
Content-Type header of
application/json
to be apart of the responseMinimal graphql.schema and models to reproduce
N/A
versions
gqlgen version
?go version
?go modules
Beta Was this translation helpful? Give feedback.
All reactions