Skip to content

Commit

Permalink
fixes #2339 allow the req or res body encoding to be customized per p…
Browse files Browse the repository at this point in the history
…ath prefix
  • Loading branch information
stevehu committed Sep 18, 2024
1 parent 36014c5 commit d428dda
Show file tree
Hide file tree
Showing 6 changed files with 316 additions and 266 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
enabled: ${request-transformer.enabled:true}
# indicate if the transform interceptor needs to change the request body
requiredContent: ${request-transformer.requiredContent:true}
# default body encoding for the request body. The default value is UTF-8. Other options are ISO-8859-1 and US-ASCII.
# default body encoding for the request body. The default value is UTF-8. Other options is ISO-8859-1.
defaultBodyEncoding: ${request-transformer.defaultBodyEncoding:UTF-8}
# A list of applied request path prefixes, other requests will skip this handler. The value can be a string
# if there is only one request path prefix needs this handler. or a list of strings if there are multiple.
# For each path prefix, you can have a customized encoding after a space. For example, "/v1/pets ISO-8859-1"
appliedPathPrefixes: ${request-transformer.appliedPathPrefixes:}
Loading

0 comments on commit d428dda

Please sign in to comment.