Skip to content

Commit

Permalink
autogen(openapi): regenerate swagger spec and internal client
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
ory-bot authored and mvanderlee committed Jan 22, 2025
1 parent c07aae9 commit 40aa100
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 @@ -36,8 +36,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 @@ -220,7 +220,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 40aa100

Please sign in to comment.