We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91d7d30 commit 0e0ba6aCopy full SHA for 0e0ba6a
src/main/java/org/jruby/rack/servlet/ResponseCapture.java
@@ -236,7 +236,7 @@ public boolean isHandled(final HttpServletRequest request) {
236
// Tomcat's DefaultServlet sets 'Allow' header but Jetty also sets the 'Date' header with its servlet
237
// ... if any other headers occur beside 'Allow' and 'Date' we consider this request handled
238
for ( final String headerName : headerNames ) {
239
- if ( ! "Allow".equals( headerName ) || ! "Date".equals( headerName ) ) {
+ if ( ! "Allow".equals( headerName ) && ! "Date".equals( headerName ) ) {
240
return handled = true;
241
}
242
0 commit comments