get_phrase
Description:
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 [property@Message:status-code] of a given [class@Message], you should just look at the message's [property@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.
Parameters:
status_code |
an HTTP status code |
Returns:
the (terse, English) description of |