Octane doesn't support e.g. 461 and will just turn it into a 200 status
code.
Details
Details
- Reviewers
machniak - Group Reviewers
Restricted Project - Commits
- rK110c03504db6: Use a header instead of http status codes for the mailfilter
Diff Detail
Diff Detail
- Repository
- rK kolab
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
It makes it more standard if we use 204 when the reply is indeed empty. So, it might make sense to use both 200 and 204 according to the response body being empty or not. Also, the header name might be better as X-Kolab-Mailfilter-Action.
Comment Actions
I changed the header name. I don't think returning a 204 is adding anything if we're not going to use it, and I prefer having the very clear 200 on all successful requests, and the header for the actual action to take.