Skip to content

Commit

Permalink
not much we can do
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias committed Nov 16, 2022
1 parent aa71f2a commit a8e685c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/corehttp/gateway_handler_codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ func (i *gatewayHandler) serveCodecConverted(ctx context.Context, w http.Respons
w.Header().Set("Last-Modified", modtime.UTC().Format(http.TimeFormat))
}

w.Write(buf.Bytes())
_, _ = w.Write(buf.Bytes())
}

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

0 comments on commit a8e685c

Please sign in to comment.