We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 840b6cb commit 9cdc9f8Copy full SHA for 9cdc9f8
src/serverCompress/writer.go
@@ -14,10 +14,6 @@ const contentEncDeflate = "deflate"
14
var encodings = []string{contentEncGzip, contentEncDeflate}
15
16
func GetWriter(w http.ResponseWriter, r *http.Request) (wc io.WriteCloser, ok bool) {
17
- if len(r.Header.Get("Range")) > 0 {
18
- return nil, false
19
- }
20
-
21
header := w.Header()
22
if len(header.Get("Content-Encoding")) > 0 {
23
return nil, false
0 commit comments