203

Non-Authoritative Information

Official
A cached copy was used to provide the meta information. Data may not be up to date.

Specification of the HTTP status code 203

The 203 Non-Authoritative Information status code indicates that the request was successful but the enclosed payload has been modified from that of the origin server's 200 (OK) response by a transforming proxy (Section 5.7.2 of [RFC7230]). This status code allows the proxy to notify recipients when a transformation has been applied, since that knowledge might impact later decisions regarding the content. For example, future cache validation requests for the content might only be applicable along the same request path (through the same proxies).

The 203 Non-Authoritative Information response is similar to the Warning code of 214 Transformation Applied (Section 5.5 of [RFC7234]), which has the advantage of being applicable to responses with any status code.

A 203 Non-Authoritative Information response is cacheable by default; i.e., unless otherwise indicated by the method definition or explicit cache controls (see Section 4.2.2 of [RFC7234]).

Source / Quote by: The 203 Non-Authoritative Information HTTP Status Code is specified by section 6.3.4 of RFC7231.

How to throw a 203 statuscode with PHP?

To throw the HTTP status code 203 on a web page, the PHP function http_response_code can be used. The syntax is as follows: http_response_code(203) (PHP 5 >= 5.4.0, PHP 7, PHP 8)

Test the 203 HTTP status code

In order to be able to display the HTTP status code (in this case 203 Non-Authoritative Information) and other information on the client side, the development console must be opened with F12. Afterwards you have to navigate to the tab "Network". Now you can open the page, in the network tab you should see the web page (example index.php). This must be selected and then the Herder section must be selected. Here the user will see the following result:

Status code 203 Non-Authoritative Information
Overview
URL: https://http-statuscode.com/errorCodeExample.php?code=203
Status: 203 Non-Authoritative Information
Those: Network
IP address: XX.XX.XX.XX
Status code 203 Non-Authoritative Information

Browser compatibility of the 203 status code

Chrome no data
Edge no data
Firefox no data
Opera no data
Safari no data
Chrome Android no data
Firefox for Android no data
Opera Android no data
Safari on iOS no data
Internet no data
WebView Android no data

Constants in programming languages

http.StatusNonAuthoritativeInfo
Response::HTTP_NON_AUTHORITATIVE_INFORMATION
:non_authoritative_information
Author: Tony Brüser
Author: Tony Brüser

Tony Brüser is an enthusiastic web developer with a penchant for HTTP status codes.

LinkedInGitHub