Root cause appears to be this PR: https://github.com/dart-lang/shelf/pull/181 Seems like sending a response not modified with non-zero header causes an error. @natebosch will resolve this issue in `package:shelf` itself and publish a new version which should unblock us.