226

IM Used

Official
the server has fulfilled a request for the resource and the response is a representation of the result of one or more instance manipulations applied to the current instance

Specification of the HTTP status code 226

The server has fulfilled a GET request for the resource, and the response is a representation of the result of one or more instance- manipulations applied to the current instance. The actual current instance might not be available except by combining this response with other previous or future responses, as appropriate for the specific instance-manipulation(s). If so, the headers of the resulting instance are the result of combining the headers from the status-226 IM Used response and the other instances, following the rules in section 13.5.3 of the HTTP/1.1 specification [10].

The request MUST have included an A-IM header field listing at least one instance-manipulation. The response MUST include an Etag header field giving the entity tag of the current instance.

A response received with a status code of 226 IM Used MAY be stored by a cache and used in reply to a subsequent request, subject to the http expiration mechanism and any Cache-Control headers, and to the requirements in section 10.6.

A response received with a status code of 226 IM Used MAY be used by a cache, in conjunction with a cache entry for the base instance, to create a cache entry for the current instance.

Source / Quote by: The 226 IM Used HTTP Status Code is specified by section 10.4.1 of RFC3229.

HTTP-Protocol

work in progress

How to throw a 226 statuscode with PHP?

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

Test the 226 HTTP status code

In order to be able to display the HTTP status code (in this case 226 IM Used) 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 226 IM Used
Overview
URL: https://http-statuscode.com/errorCodeExample.php?code=226
Status: 226 IM Used
Those: Network
IP address: XX.XX.XX.XX
Status code 226 IM Used

Browser compatibility of the 226 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.StatusIMUsed
Response::HTTP_IM_USED
:im_used
Author: Tony Brüser
Author: Tony Brüser

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

LinkedInGitHub