Skip to content

Commit

Permalink
Add Content-Range to allowed headers
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonford committed Dec 28, 2022
1 parent 6fa4712 commit 1a563df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fakestorage/server.go
Expand Up @@ -125,7 +125,7 @@ func NewServerWithOptions(options Options) (*Server, error) {
return nil, err
}

allowedHeaders := []string{"Content-Type", "Content-Encoding", "Range"}
allowedHeaders := []string{"Content-Type", "Content-Encoding", "Range", "Content-Range"}
allowedHeaders = append(allowedHeaders, options.AllowedCORSHeaders...)

cors := handlers.CORS(
Expand Down

0 comments on commit 1a563df

Please sign in to comment.