-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Notwritten route pass to NotFound handler #246
Conversation
Notwritten route pass to NotFound handler
@sgp I`m think is not a problem. application may explicit return 204
as expected 204 without content
|
This is true; although this needs to be documented as a necessary change to existing code. We had many cases in our code where we used the default behavior (i.e. nothing written == 200 OK). |
Reverting changes from #246
I just reverted this change. I'm happy to have this in as long as we document it's usage and notify current martini users of breaking changes on the mailing list before we land it. |
I think that this kind of change would be better suited by having an explicit method call or return value that can grant this sort of behavior. Returning 200 OK by default (i.e. assuming handled, not "not found") is better default behavior IMHO. |
Thanks for the input Scott! On Fri, Apr 25, 2014 at 11:55 AM, Scott Parkerson
|
No problem. We've been enjoying Martini here. :) |
it`s a version 2 of #229