Http_Status_NotExtended=510,/*!< The policy for accessing the resource has not been met in the request. [RFC 2774] */
Http_Status_NotExtended=510,/*!< The policy for accessing the resource has not been met in the request. [RFC 2774] */
}http_status_code_t;
}http_status_code_t;
staticcharhttp_status_is_informational(intcode){return(code>=100&&code<200);}/*!< \returns \c true if the given \p code is an informational code. */
staticinlinecharhttp_status_is_informational(intcode){return(code>=100&&code<200);}/*!< \returns \c true if the given \p code is an informational code. */
staticcharhttp_status_is_successful(intcode){return(code>=200&&code<300);}/*!< \returns \c true if the given \p code is a successful code. */
staticinlinecharhttp_status_is_successful(intcode){return(code>=200&&code<300);}/*!< \returns \c true if the given \p code is a successful code. */
staticcharhttp_status_is_redirection(intcode){return(code>=300&&code<400);}/*!< \returns \c true if the given \p code is a redirectional code. */
staticinlinecharhttp_status_is_redirection(intcode){return(code>=300&&code<400);}/*!< \returns \c true if the given \p code is a redirectional code. */
staticcharhttp_status_is_client_error(intcode){return(code>=400&&code<500);}/*!< \returns \c true if the given \p code is a client error code. */
staticinlinecharhttp_status_is_client_error(intcode){return(code>=400&&code<500);}/*!< \returns \c true if the given \p code is a client error code. */
staticcharhttp_status_is_serverError(intcode){return(code>=500&&code<600);}/*!< \returns \c true if the given \p code is a server error code. */
staticinlinecharhttp_status_is_serverError(intcode){return(code>=500&&code<600);}/*!< \returns \c true if the given \p code is a server error code. */
staticcharhttp_status_is_error(intcode){return(code>=400);}/*!< \returns \c true if the given \p code is any type of error code. */
staticinlinecharhttp_status_is_error(intcode){return(code>=400);}/*!< \returns \c true if the given \p code is any type of error code. */
/*! Returns the standard HTTP reason phrase for a HTTP status code.
/*! Returns the standard HTTP reason phrase for a HTTP status code.
* \param code An HTTP status code.
* \param code An HTTP status code.
* \return The standard HTTP reason phrase for the given \p code or \c NULL if no standard
* \return The standard HTTP reason phrase for the given \p code or \c NULL if no standard