good morning!!!!

Skip to content
Snippets Groups Projects
Commit b677a07d authored by Lewis Marshall's avatar Lewis Marshall Committed by Balint Gabor
Browse files

swarm/api/http: Fix using deprecated bzzr scheme (#16152)


Without this, deprecated bzzr requests just return an empty response.

Signed-off-by: default avatarLewis Marshall <lewis@lmars.net>
parent 4702ace5
No related merge requests found
......@@ -349,7 +349,7 @@ func (s *Server) HandleGet(w http.ResponseWriter, r *Request) {
}
switch {
case r.uri.Raw():
case r.uri.Raw() || r.uri.DeprecatedRaw():
// allow the request to overwrite the content type using a query
// parameter
contentType := "application/octet-stream"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment