Skip to content

Loading…

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

Closed
btd opened this Issue · 0 comments

3 participants

@btd

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

There is a groups discussion about it:
https://groups.google.com/forum/#!topic/liftweb/9712-b4lOB8

And reply about this issue jetty developers:
http://dev.eclipse.org/mhonarc/lists/jetty-users/msg03339.html

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.