-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
fix #130 Empty response for NOT_MODIFIED #131
Conversation
@jfarcand |
@ricardojlrufino Yes it is unless it was added by default. If you remove it, does it still work? |
@jfarcand not work, i need it move to upper , to fiz bug in sendNotModified |
@ricardojlrufino Patch looks good, but can you add a unit test? Thanks a lot! |
Sorry but I have no idea how to implement for this specific use case |
@ricardojlrufino How do you test it? |
(THE CACHE PROBLEM) |
import static io.netty.handler.codec.http.HttpHeaders.Names.CONTENT_TYPE; | ||
import static io.netty.handler.codec.http.HttpHeaders.Names.IF_MODIFIED_SINCE; | ||
import static io.netty.handler.codec.http.HttpHeaders.Names.LOCATION; | ||
import static io.netty.handler.codec.http.HttpHeaders.Names.*; | ||
import static io.netty.handler.codec.http.HttpMethod.GET; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please do not change the import
@ricardojlrufino OK fair enough. Can you just fix the comment and I will integrate your fix and cut a release ASAP. Thanks! |
2b0f1b1 fix and revert changes in 6b428a7