diff options
Diffstat (limited to 'swarm')
-rw-r--r-- | swarm/api/http/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swarm/api/http/server.go b/swarm/api/http/server.go index 74341899d..b89487af7 100644 --- a/swarm/api/http/server.go +++ b/swarm/api/http/server.go @@ -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" |