The only way to avoid HTTPerrors is to prevent clients from connecting to the server.
为了避免HTTP错误的唯一方法是防止客户端连接到服务器。
2
If there was no callback function provided, the send function blocks and waits until the server response arrives, or else it raises HTTPerrors.
如果没有提供回调函数,那么send函数阻塞,一直等到服务器响应到达,或者引发HTTP错误。
3
But they make sure that the business logic is invoked, that the controller logic doesn't detect any errors, and that the right HTTP response is achieved.