Skip to content

Comments

Add feature to optionally set headers after servlet execution (setHeadersAfterServlet) and to optionally append values (appendValues)#5

Open
jamiejackson wants to merge 2 commits intoHory314:masterfrom
jamiejackson:before_and_after
Open

Add feature to optionally set headers after servlet execution (setHeadersAfterServlet) and to optionally append values (appendValues)#5
jamiejackson wants to merge 2 commits intoHory314:masterfrom
jamiejackson:before_and_after

Conversation

@jamiejackson
Copy link

This branch is built on top of another branch with an open PR.

@jamiejackson
Copy link
Author

This works in unit tests but might not work in situ. I'm not too sure how to troubleshoot. Still investigating...

@jamiejackson jamiejackson marked this pull request as draft December 17, 2024 17:50
@jamiejackson
Copy link
Author

I learned that the servlet will auto-commit the response unless the auto-commit is wrapped to allow deferred commit. The wrapper allows for setting headers after the servlet is executed.

@jamiejackson jamiejackson marked this pull request as ready for review December 20, 2024 19:19
@jamiejackson jamiejackson changed the title Add feature to optionally set headers after servlet execution (setHeadersAfterServlet) Add feature to optionally set headers after servlet execution (setHeadersAfterServlet) and to optionally append values (appendValues) Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant