-
Notifications
You must be signed in to change notification settings - Fork 2
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(ResponseType): Correctly add empty responses for 204/304 #111
Conversation
40f03d3
to
eadd037
Compare
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.
Would make the working more explicit
eadd037
to
5ad8649
Compare
5ad8649
to
ca33281
Compare
Rebased because it lost the automerge race |
Seems like the notification app has a problem: |
Actually custom headers are just not allowed for 304, but 204 allows them. The error message in the server is wrong as well. |
ca33281
to
d5b4913
Compare
Signed-off-by: provokateurin <[email protected]>
d5b4913
to
608a037
Compare
/** | ||
* A route 204 response | ||
* | ||
* @return DataResponse<Http::STATUS_NO_CONTENT, array<empty>, array{}> |
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.
could have added a header to sample/test it?
Fixes #108