Looks up the stock HTTP description of status_code.
There is no reason for you to ever use this
function. If you wanted the textual description for the
Message.status_code of a given Message, you should just
look at the message's Message.reason_phrase. However, you
should only do that for use in debugging messages; HTTP reason
phrases are not localized, and are not generally very descriptive
anyway, and so they should never be presented to the user directly.
Instead, you should create you own error messages based on the
status code, and on what you were trying to do.
Looks up the stock HTTP description of
status_code.There is no reason for you to ever use this function. If you wanted the textual description for the Message.status_code of a given Message, you should just look at the message's Message.reason_phrase. However, you should only do that for use in debugging messages; HTTP reason phrases are not localized, and are not generally very descriptive anyway, and so they should never be presented to the user directly. Instead, you should create you own error messages based on the status code, and on what you were trying to do.