HTTP
HTTP

HTTP

  • Each line of the HTTP header should end in \r\n (<CR><LF>)
    • Therefore, an empty line should be two characters long.
    • If the line starts with a space, it continues the previous line. Must remove the \r\n from the previous line.
  • First line of HTTP Request → Request Line.
    • Has METHOD URI VERSION format.
  • First line of HTTP Response → Status Line
    • Has VERSION STATUS REASON
  • Other lines have KEY:VALUE
  • Stateless. HTTP Server does not remember previous client requests
  • Takes two round trips + File transmission time
    • One round trip to initiate TCP connection
    • One round trip for HTTP request and response

Status Codes

  • 200 OK
  • 301 Moved Permanently → Redirect
  • 400 Bad Request
  • 404 Not Found
  • 451 Legal Problems
  • 505 HTTP Version Not Supported

Conditional Get

  • HTTP request
    • If-modified-since: date
  • HTTP response
    • HTTP/1.0 304 Not Modified
    • HTTP/1.0 200 OK Last-Modified: date
  • For updating caches
Backlinks (14)
  • AT protocol
  • IDOL Stack
  • tRPC
  • 230216
  • Proposal of Research 2023-01-10
  • http 없는 http 서버 만들기
  • Techs Actually Simple
  • DASH Protocol
  • Internet Protocol Stack
  • Cross-Origin Embedder Policy
  • Cross-Origin Opener Policy
  • HTMX
  • Data Preservation
  • Internetworking
Index
cho.sh
I prefer CLIBB9A08260619260619컴퓨트로늄37A88F컴퓨트로늄0CF03F컴퓨트로늄2C60FB260618260618260418260418260528260528AutoBuilder63849A260419260419Setup9AC296StellaD226F7260415260415Debian SetupD2F701260414260414anaclumos/configs/AGENTS.mdED86A3Ramp의 AX (회사를 AI로 물들이는 법)840774260413260413How to get your company AI pilled46544C260411260411260409260409260407260407260406260406Separating Claude Code Personal Sub and Claude Code Company Sub33A53C
Warning
This post is more than a year old. Information may be outdated.