You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/02/16 14:44:44 UTC
[GitHub] maskit commented on issue #1242: Change HTTP status code which WebSocket proxy returns to producer whe?
maskit commented on issue #1242: Change HTTP status code which WebSocket proxy returns to producer whe?
URL: https://github.com/apache/incubator-pulsar/pull/1242#issuecomment-366254199
I don't think 403 suits this case because the code is for authentication and authorization, technically. And 4xx errors are basically caused by client side. If server side limitation is the cause, 5xx should be used. 503 would be a best choice. However, if some bad client is requesting too many requests, 429 would be another option.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services