An answer from the app without a Content-Type reaches the client without one (closes #127) #148

Merged
clawbot merged 1 commits from issue-127-no-guessed-content-type into next 2026-10-20 16:41:19 +02:00
1 Commits
Author SHA1 Message Date
sneak 1d93f53f46 An answer from the app without a Content-Type reaches the client without one (closes #127)
check / check (push) Waiting to run
Go's server adds a Content-Type it guesses from the body when the
response's headers have no Content-Type key, which happened to some
of the app's answers and not others, as the first part of the body or
the headers went out first. When the app sends none, smallwebwaf now
sets the key with no value on the client's response, which sends none.

Model: opus-5-5
2026-10-20 14:14:21 +00:00