superfluous response.WriteHeader call
Đang mở
- Ngôn ngữ chính
- Go
- Star
- 1.2k
- Fork
- 48
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
`http: superfluous response.WriteHeader call from github.com/felixge/httpsnoop.(*Metrics).CaptureMetrics.func1.1 (capture_metrics.go:53)`
I sometimes get this error in my logs when serving static files with `http.ServeContent`.
Not sure how this happens if the wrapper is working correctly but the logs don't lie. Maybe `ServeContent` is somehow getting direct access to the underlying writer?
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.