Skip to content

Commit a8e685c

Browse files
committed
not much we can do
1 parent aa71f2a commit a8e685c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/corehttp/gateway_handler_codec.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ func (i *gatewayHandler) serveCodecConverted(ctx context.Context, w http.Respons
204204
w.Header().Set("Last-Modified", modtime.UTC().Format(http.TimeFormat))
205205
}
206206

207-
w.Write(buf.Bytes())
207+
_, _ = w.Write(buf.Bytes())
208208
}
209209

210210
func setCodecContentDisposition(w http.ResponseWriter, r *http.Request, resolvedPath ipath.Resolved, contentType string) string {

0 commit comments

Comments
 (0)