99designs / 99designs/gqlgen

Disabling Chunked Encoding

Open
#2,781 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
10.8k
Forks
1.3k
Avg merge
2d 36m
Merged PRs (30d)
26

Description

### What happened?
Currently responses received always have `Transfer-Encoding: chunked`

### What did you expect?
I wish to control this and send complete response.

### Minimal graphql.schema and models to reproduce
Not specific to a schema

### versions
```
go run github.com/99designs/gqlgen version
v0.17.36
go version
go version go1.19.3 darwin/arm64
```

Contributor guide

Open the contributing guide

Research direction

Look at the HTTP transport layer in gqlgen, likely in handler or transport packages, to find where Transfer-Encoding: chunked is set. Understand how to conditionally disable chunked encoding based on request or response size. Check existing tests for HTTP handlers to see how responses are validated.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.