Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products.

As PHP version 5.5 is no longer supported by the community, we strongly recommend new apps use the PHP 7+ runtime.

\google\appengine\util\HttpUtil

FINAL

HTTP related Utilities.

Methods

getResponseTextForCode

STATIC   

getResponseTextForCode(integer $code)

Return the text representation of a HTTP response code.

Parameters

Name Description

$code

integer

The HTTP status code.