Skip to content


HttpServletRequest.getHeader returns null for empty header in jetty 9 #1452

btd opened this Issue · 0 comments

3 participants


If pass in header
HttpServletRequest.getHeader("User-Agent") will return null in jetty 9.

There is a groups discussion about it:!topic/liftweb/9712-b4lOB8

And reply about this issue jetty developers:

So it is defined behaviour and will not be changed by developers.

@bearfeeder bearfeeder was assigned
@dpp dpp was assigned
@dpp dpp closed this in 5169861
@dpp dpp added a commit that referenced this issue
@dpp dpp Null testing for headers. Closes #1452 0c68be7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.