We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expected Behavior It should be possible to add a custom ServerHttpHeadersWriter with Kotlin DSL, something like
ServerHttpHeadersWriter
http { headers { writer { StaticServerHttpHeadersWriter.builder() .header(..., ...) .build() } } }
Current Behavior Kotlin ServerHeadersDsl class doesn't provide a way to add custom ServerHttpHeadersWriters.
ServerHeadersDsl
Context A workaround is
http.headers { spec -> spec.writer(...) }
The text was updated successfully, but these errors were encountered:
Hi, @jzheaux since gh-16002 was closed due to being fixed by spring-framework team, I could take this instead.
Sorry, something went wrong.
Allow configuring custom ServerHttpHeadersWriter for Kotlin DSL
9dc0509
Closes spring-projectsgh-16009
7c59a4d
jzheaux
evgeniycheban
Successfully merging a pull request may close this issue.
Expected Behavior
It should be possible to add a custom
ServerHttpHeadersWriter
with Kotlin DSL, something likeCurrent Behavior
Kotlin
ServerHeadersDsl
class doesn't provide a way to add customServerHttpHeadersWriter
s.Context
A workaround is
The text was updated successfully, but these errors were encountered: