Skip to content

Don't read HTTP body unnecessarily.#205

Merged
jholdstock merged 1 commit intodecred:masterfrom
jholdstock:readlimit
Feb 2, 2026
Merged

Don't read HTTP body unnecessarily.#205
jholdstock merged 1 commit intodecred:masterfrom
jholdstock:readlimit

Conversation

@jholdstock
Copy link
Member

Using request.ParseForm causes the body of every request to be read. dcrwebapi only uses query params and GET methods, therefore this was completely unnecessary and was wasting time/resources.

Using request.ParseForm causes the body of every request to be read.
dcrwebapi only uses query params and GET methods, therefore this was
completely unnecessary and was wasting time/resources.
@jholdstock jholdstock merged commit 90be20d into decred:master Feb 2, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants