-
Notifications
You must be signed in to change notification settings - Fork 25
Update BeaconError documentation (issue #262) #267
base: develop
Are you sure you want to change the base?
Conversation
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.
For consistency with HTTP status codes, I find it very confusing to use 200 (OK) to indicate an error like this. I don't think we need these "partial" errors, so -1 from me.
Well, I think that for the top level error (those which prevent the Beacon from giving a response) the HTTP status code provided in the response should be the same as in the |
95d3df6
to
02a567e
Compare
I've just talked to @silverdaz and got a new porposal. For example, we could use 207 (Multi-status) in both the top-level
and we could rename
WDYT @mcupak , @teemukataja, @blankdots, @jrambla? |
@sdelatorrep I was thinking of a similar thing in #254 (comment) (also 206, but that is for something else) ... Just as a question should an implementation of beacon specification support default MIME types and should the I can see how |
Regarding examples and this comment: #254 (comment) ... see line https://github.com/ga4gh-beacon/specification/pull/267/files#diff-3e4ace27644d8292430d48f9d398492eR131 and https://github.com/ga4gh-beacon/specification/pull/267/files#diff-3e4ace27644d8292430d48f9d398492eR79 those should be integer. Also I still think custom error codes as here: #254 (comment) might be better for |
No description provided.