Skip to content
프로젝트

for-GET/http-decision-diagram

GitHub에서 보기

소개

다양한 헤더가 주어졌을 때 HTTP 응답 상태 코드가 어떻게 결정되는지 설명하는 활동 다이어그램입니다.

디자인 및 미디어

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
-1
in 7 days
-2
in 15 days
-2
in 1 month
-1

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

http-decision-diagram

An activity diagram to describe the resolution of HTTP response status codes, given various headers, implemented via semantical callbacks.

And it goes on Twitter as #httpdd - HTTP Decision Diagram.

This is part of a bigger effort: for-GET HTTP.

The diagram follows the indications in RFC9110 RFC9111 RFC9112, and fills in the void where necessary (see also RFC6585 RFC7725 RFC8470 RFC9211 RFC9213). Under no circumstances does this diagram override the HTTP specifications. If it does, please file an issue as soon as possible.

Out of scope: 510 (Not Extended, RFC2774 — Historic), 207/208/508 (WebDAV), 226 (IM Used, RFC 3229). Details.

The diagram is also available in PNG/JPEG/SVG and JSON format exported from the Cosmogol source. See the documentation here.

HTTP headers status


cache-retrieve and cache-store

Darrel Miller started something similar to HTTP decision diagram, in terms of deciding whether to cache (store) or not a HTTP response, and whether to respond to a HTTP request with a cached HTTP response or not.

Retrieval decisions follow RFC9111: request/storage no-cache forces revalidation, stale-while-revalidate serves stale while revalidating, and must-revalidate prevents serving stale responses.

  • Cache-Status emissions and Targeted Cache Control / CDN-Cache-Control (RFC 9213) decisions are part of the cache diagrams: when the cache is targeted, the Cache-Control callbacks read the targeted headers first.

The cache-retrieve diagram is available in PNG/JPEG/SVG and JSON format exported from the Cosmogol source.

The cache-store diagram is available in PNG/JPEG/SVG and JSON format exported from the Cosmogol source.


README more

License

Apache 2.0

Stargazers over time

관련 프로젝트 살펴보기

불러오는 중…