Atom feed: empty feed or 404?

We have a REST server that returns Feed (ATOM) based on an input request. For certain request parameters (valid / invalid) Feed contains null entries. For null entries should I return an empty stream or 404? Is there a standard processing method?

Any pointers would be helpful.

+3
source share
1 answer

If the request is really invalid, that is, it will never be able to return any results according to the logic of your webapp, then you should return an error. If you haven’t reported anything yet, then an empty channel will be needed.

+3
source

All Articles