Macaron: Prevent WriteHeader invalid HTTP status code panic (#42973) (#42974)

(cherry picked from commit 92005159c89f848ab8b8435e0c8751599e2e8aff)

Co-authored-by: Todd Treece <todd.treece@grafana.com>
(cherry picked from commit f9481527de)

Co-authored-by: Carl Bergquist <carl.bergquist@gmail.com>
This commit is contained in:
Grot (@grafanabot)
2021-12-10 14:14:47 +01:00
committed by GitHub
co-authored by Carl Bergquist
parent e804fb3dce
commit 2f9153c95e
4 changed files with 70 additions and 0 deletions
+8
View File
@@ -1,3 +1,11 @@
module gopkg.in/macaron.v1
go 1.17
require github.com/stretchr/testify v1.7.0
require (
github.com/davecgh/go-spew v1.1.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect
)