-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NumberFormatException with HttpHeader.LAST_MODIFIED #10574
Comments
@janitza-bjag I don't understand. The HTTP Is it you trying to get the Do you have reproducer steps so we can reproduce the issue? |
@sbordet Sorry, its about the HttpHeader.LAST_MODIFIED. I debugged into "org.eclipse.jetty.ee8.nested.Response" where the static method putHeaders is called. Here the NumberFormatExceoption occurs ... |
@janitza-bjag I think I've recently fixed this problem, see: #10463 |
@janbartel |
@janitza-bjag ee8 is mechanically copied from ee9 just changing the package names, so ee8 will have the fix. |
Closing as duplicate of #10463. |
Jetty version(s)
12.0.1
Jetty Environment
core, ee8
Java version/vendor
17.0.8
Question
I have a simple WAR and want to server a static html file. I get a NumberFormatException because the DateHeader field contains a formatted Date instead of an expected String with milliseconds ... Can anyone help me out?
The text was updated successfully, but these errors were encountered: