-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Clarify setHeader() and null or empty string arguments #159
Comments
@glassfishrobot Commented |
@glassfishrobot Commented If a header has been removed in this way, containsHeader() for that header returns false. containsHeader(null) always returns false. |
@glassfishrobot Commented
|
@glassfishrobot Commented |
|
Fix #159 - Clarify behaviour of header methods with null or ""
The spec for HttpServletResponse.setHeader() does not say what to do if one or both of the arguments is null or empty.
https://docs.oracle.com/javaee/7/api/javax/servlet/http/HttpServletResponse.html#setHeader-java.lang.String-java.lang.String-
The text was updated successfully, but these errors were encountered: