Skip to content

Commit

Permalink
Merge branch 'master' of github.com:MichielVanderlee/oathkeeper into …
Browse files Browse the repository at this point in the history
…michielv/master
  • Loading branch information
mvanderlee committed Sep 22, 2022
2 parents 1954dd0 + 4d277ae commit 24aab25
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pipeline/mutate/mutator_hydrator.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ const (
ErrNoCredentialsProvided = "No credentials were provided in mutator configuration"
contentTypeHeaderKey = "Content-Type"
contentTypeJSONHeaderValue = "application/json"
acceptEncodingHeaderKey = "Accept-Encoding"
acceptEncodingHeaderValue = "gzip, deflate"
acceptEncodingHeaderKey = "Accept-Encoding"
acceptEncodingHeaderValue = "gzip, deflate"
)

type MutatorHydrator struct {
Expand Down Expand Up @@ -240,7 +240,7 @@ func (a *MutatorHydrator) Mutate(r *http.Request, session *authn.AuthenticationS
default:
return errors.New(ErrNon200ResponseFromAPI)
}

// Handle compressed data
var reader io.ReadCloser
switch res.Header.Get("Content-Encoding") {
Expand Down

0 comments on commit 24aab25

Please sign in to comment.