{"_self":{"principle":"Self-explaining payload — no external context required. This _self block describes what you are reading and where to look next.","widget":"article_bundle","feature":"bundle","name":"LLM article bundle","what":"Paste-ready package: body + claims + sources + voxels + provenance + manifest + constitution.","contains":"body, claims, sources, voxels, provenance, question graph, constitution, llm_manifest","slug":"oip-what-is-http","urls":{"read":"https://miscsubjects.com/api/articles/oip-what-is-http/bundle?format=markdown"},"how_to_use":"Paste into any LLM. Read §SELF first. Write back via ingest or claim endpoints in llm_manifest.","write":null,"imessage":null,"router_tag":null,"proof_chain":[{"step":1,"claim":"Articles are voxel graphs of tiered claims, not prose blobs.","verify":"https://miscsubjects.com/api/articles/constitution"},{"step":2,"claim":"Claims link to hash-chained sources via source_ids.","verify":"https://miscsubjects.com/api/articles/oip-what-is-http/sources"},{"step":3,"claim":"Ask reads topology; ingest/claim append to ledger.","verify":"https://miscsubjects.com/api/protocol"},{"step":4,"claim":"Models queue growth: populate → collaborate → repair → reflex.","verify":"https://miscsubjects.com/api/protocol/grow"},{"step":5,"claim":"Graph proves its own shape (reflex) and $/claim (yield).","verify":"https://miscsubjects.com/graph.html?layer=reflex"},{"step":6,"claim":"Full feature index + _explain on every API response.","verify":"https://miscsubjects.com/api/articles/system-map"}],"related_features":[{"id":"topology","name":"Article topology","what":"Claims, sources, anecdotes, user reports, related embeds, question graph slice — for ask/ROUTER.","urls":{"read":"https://miscsubjects.com/api/articles/oip-what-is-http/topology"}},{"id":"voxels","name":"Voxel graph","what":"Claims as atoms, sources as edges (supported_by, posted_by). Per-claim provenance.","urls":{"read":"https://miscsubjects.com/api/articles/oip-what-is-http/voxels","write":"https://miscsubjects.com/api/protocol/claim"}},{"id":"ask","name":"Ask protocol","what":"Answer only from topology; creates question_node with gaps and ingest_hint.","urls":{"read":"https://miscsubjects.com/api/articles/oip-what-is-http/prompts","write":"https://miscsubjects.com/api/protocol/ask"}},{"id":"ingest","name":"Ingest protocol","what":"Parse pasted evidence → source ledger + claims + evidence_ingest node.","urls":{"write":"https://miscsubjects.com/api/protocol/ingest"}},{"id":"claim_post","name":"Claim post protocol","what":"Prompt-injection style POST — one claim voxel with who_claims + posted_by.","urls":{"read":"https://miscsubjects.com/api/articles/oip-what-is-http/voxels","write":"https://miscsubjects.com/api/protocol/claim"}},{"id":"llm_manifest","name":"LLM manifest","what":"Machine-readable read/write contract for external LLMs.","urls":{"read":"https://miscsubjects.com/api/articles/llm-manifest"}}],"system_map":"https://miscsubjects.com/api/articles/system-map","system_map_markdown":"https://miscsubjects.com/api/articles/system-map?format=markdown","not_medical_advice":true},"_explain":{"feature":"bundle","name":"LLM article bundle","what":"Paste-ready package: body + claims + sources + voxels + provenance + manifest + constitution.","why":"Every feature is auditable collective intelligence","how":"Paste into any LLM. Read §SELF first. Write back via ingest or claim endpoints in llm_manifest.","model":null,"verifies":null,"urls":{"read":"https://miscsubjects.com/api/articles/oip-what-is-http/bundle?format=markdown"},"imessage":null,"router":null,"related":[{"id":"topology","what":"Claims, sources, anecdotes, user reports, related embeds, question graph slice — for ask/ROUTER."},{"id":"voxels","what":"Claims as atoms, sources as edges (supported_by, posted_by). Per-claim provenance."},{"id":"ask","what":"Answer only from topology; creates question_node with gaps and ingest_hint."},{"id":"ingest","what":"Parse pasted evidence → source ledger + claims + evidence_ingest node."},{"id":"claim_post","what":"Prompt-injection style POST — one claim voxel with who_claims + posted_by."},{"id":"llm_manifest","what":"Machine-readable read/write contract for external LLMs."}],"not_medical_advice":true},"bundle_version":1,"generated_at":"2026-07-04T22:33:04.322Z","slug":"oip-what-is-http","title":"What Is HTTP","url":"https://miscsubjects.com/a/oip-what-is-http","register":"oip_protocol","tags":["oip","protocol"],"posted_at":"2026-07-04T18:30:51.329Z","updated_at":"2026-07-04T19:01:05.334Z","body":"# HTTP\n\n## What It Is\n\n**HTTP is the request-response protocol that moves the web.** A client sends a structured message. A server returns a structured reply. Nothing more. Nothing less.\n\n## Why It Matters\n\nEvery web page you load, every API call you make, every form you submit — HTTP carries it. Without HTTP, the internet is just disconnected machines. With HTTP, it becomes a conversation.\n\nThe protocol is **stateless by design**. Each request stands alone. This simplicity is why HTTP scaled from a CERN research project to the backbone of global commerce. No session memory. No hidden state. The entire context lives in the request itself. This is the DNA of open systems: transparent, inspectable, repeatable.\n\nHTTP also embodies **layered architecture**. It runs over TCP (or QUIC), which runs over IP, which runs over Ethernet. Each layer knows only the layer beneath it. You can swap TCP for QUIC without touching HTTP. You can swap Ethernet for WiFi without touching TCP. This separation of concerns is how systems survive decades of change.\n\n## How It Works\n\nA client opens a TCP connection to a server on port 80 (HTTP) or 443 (HTTPS). It sends a request message.\n\nThe request has three parts:\n\n1. **Request line**: method, path, protocol version.\n   `GET /api/user/42 HTTP/1.1`\n\n2. **Headers**: key-value pairs that describe the request.\n   `Host: api.example.com`\n   `Accept: application/json`\n   `Authorization: Bearer token123`\n\n3. **Body** (optional): payload for POST, PUT, PATCH.\n\nThe server reads the request, processes it, and sends a response.\n\nThe response has three parts:\n\n1. **Status line**: protocol version, status code, reason phrase.\n   `HTTP/1.1 200 OK`\n\n2. **Headers**: metadata about the response.\n   `Content-Type: application/json`\n   `Content-Length: 234`\n\n3. **Body**: the actual data.\n\nThe connection may close or persist for reuse. HTTP/1.1 keeps connections alive by default. HTTP/2 multiplexes multiple requests over one connection. HTTP/3 replaces TCP with QUIC for faster, more resilient transport.\n\n## The Contract\n\n```\nREQUEST  = Method SP Request-Target SP HTTP-Version CRLF\n           *(Header-Field CRLF)\n           CRLF\n           [Message-Body]\n\nRESPONSE = HTTP-Version SP Status-Code SP Reason-Phrase CRLF\n           *(Header-Field CRLF)\n           CRLF\n           [Message-Body]\n```\n\nMethods: GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH.\n\nStatus codes are grouped by first digit:\n- 1xx: Informational\n- 2xx: Success (200 OK, 201 Created, 204 No Content)\n- 3xx: Redirect (301 Moved Permanently, 302 Found, 304 Not Modified)\n- 4xx: Client Error (400 Bad Request, 401 Unauthorized, 403 Forbidden, 404 Not Found, 429 Too Many Requests)\n- 5xx: Server Error (500 Internal Server Error, 502 Bad Gateway, 503 Service Unavailable)\n\nHeaders are case-insensitive. Body encoding is declared by `Content-Type` and `Content-Length` or `Transfer-Encoding`.\n\n## Real Examples\n\n**1. Loading a web page**\n```\nGET / HTTP/1.1\nHost: example.com\n```\nResponse: HTML document. The browser parses it, sees references to CSS, JS, images, and fires additional GET requests for each.\n\n**2. Creating a user**\n```\nPOST /api/users HTTP/1.1\nHost: api.example.com\nContent-Type: application/json\n\n{\"name\":\"Ada Lovelace\",\"email\":\"ada@example.com\"}\n```\nResponse: `201 Created` with a `Location: /api/users/42` header.\n\n**3. Checking if a resource changed**\n```\nGET /api/config HTTP/1.1\nHost: api.example.com\nIf-None-Match: \"abc123\"\n```\nResponse: `304 Not Modified` if the ETag matches. No body transferred. This is how caching saves bandwidth.\n\n**4. Deleting a record**\n```\nDELETE /api/users/42 HTTP/1.1\nHost: api.example.com\nAuthorization: Bearer admin_token\n```\nResponse: `204 No Content` — the action succeeded, there is nothing to return.\n\n**5. A health check**\n```\nHEAD /health HTTP/1.1\nHost: api.example.com\n```\nResponse: `200 OK` with no body. HEAD is identical to GET but omits the body. Load balancers use this every second.\n\n## Common Mistakes\n\n- **Treating GET as safe but not idempotent.** GET must not change server state. If your `GET /api/reset` wipes data, you have broken the contract.\n- **Ignoring status codes.** Returning `200 OK` with an error body is a lie. The status code is the first thing every client checks.\n- **Misusing POST.** POST is for creation and non-idempotent actions. Use PUT for full updates, PATCH for partial updates, DELETE for removal. Each method has a meaning.\n- **Forgetting Content-Length.** Without it, the client does not know when the body ends. Use chunked encoding for streaming responses where size is unknown.\n- **Caching POST responses.** By default, POST responses are not cacheable. If you cache them, you will serve stale data to the wrong users.\n\n## Connection to OIP\n\nHTTP is the prototype of an open, deterministic, auditable protocol. Every message is self-contained and inspectable. You can capture a request, replay it tomorrow, and get the same result. This determinism is the foundation of OIP.\n\nThe statelessness of HTTP mirrors the statelessness of pure functions. No hidden context. No side effects (if you follow GET). The entire behavior is visible in the message itself. This is what auditable means: you can read the request and know exactly what should happen.\n\nHTTP also shows how protocols evolve without breaking. HTTP/1.0 to HTTP/1.1 added persistent connections and chunked encoding. HTTP/2 added multiplexing. HTTP/3 added QUIC. Each version is backward-compatible in spirit: the semantics of GET, POST, and 200 OK never changed. The transport improved. The contract held.\n\nThis is the OIP philosophy in practice: define a clear contract, make it inspectable, let the implementation improve underneath. Open means anyone can speak it. Deterministic means the same input produces the same output. Auditable means you can see every step. HTTP has been doing this since 1991.\n\n\n## Connection to the Grain Philosophy\n\nThis protocol is part of the [Open Inventory Protocol](/a/philosophy) — a living system of self-describing voxels that serves the Grain philosophy. The OIP is the interface. The philosophy is the core.\n","claims":[],"sources":[],"voxels":{"slug":"oip-what-is-http","counts":{"voxels":0,"sources":0,"edges":0},"note":"slim bundle — full voxels at /api/articles/oip-what-is-http/voxels"},"constitution":{"url":"https://miscsubjects.com/api/articles/constitution"},"provenance":[],"contributions":[],"topology":null,"slim":true,"ledger_totals":{"claims":0,"sources":0,"exported_claims":0,"exported_sources":0},"question_graph":{"slug":"oip-what-is-http","questions":[],"evidence":[],"edges":[],"counts":{"questions":0,"evidence":0,"edges":0}},"verification":{"provenance":{"valid":true,"entries":0,"head":"genesis"},"sources":{"valid":true,"entries":0,"head":"genesis"}},"counts":{"claims":0,"sources":0,"provenance":0,"contributions":0,"questions":0,"evidence_ingests":0,"voxel_edges":0},"llm_manifest":{"version":"1","site":"https://miscsubjects.com","purpose":"Peptide evidence articles with hash-chained source ledgers, tiered claims, and a question graph. LLMs should READ bundles/URLs and WRITE back via ingest — never invent doses.","read":{"human_page":"https://miscsubjects.com/a/oip-what-is-http","bundle_json":"https://miscsubjects.com/api/articles/oip-what-is-http/bundle","bundle_markdown":"https://miscsubjects.com/api/articles/oip-what-is-http/bundle?format=markdown","topology":"https://miscsubjects.com/api/articles/oip-what-is-http/topology","question_graph":"https://miscsubjects.com/api/articles/oip-what-is-http/question-graph","sources":"https://miscsubjects.com/api/articles/oip-what-is-http/sources","provenance":"https://miscsubjects.com/api/articles/oip-what-is-http/provenance","contributions":"https://miscsubjects.com/api/articles/oip-what-is-http/contributions","graph_topology":"https://miscsubjects.com/api/articles/oip-what-is-http/graph-topology?question={question}","voxels":"https://miscsubjects.com/api/articles/oip-what-is-http/voxels","constitution":"https://miscsubjects.com/api/articles/constitution","ontology":"https://miscsubjects.com/api/articles/ontology","system_map":"https://miscsubjects.com/api/articles/system-map","system_map_markdown":"https://miscsubjects.com/api/articles/system-map?format=markdown","health":"https://miscsubjects.com/api/articles/oip-what-is-http/health","repair":"POST https://miscsubjects.com/api/protocol/repair","list_articles":"https://miscsubjects.com/api/articles","graph_canvas":"https://miscsubjects.com/graph.html?slugs=oip-what-is-http","graph_yield":"https://miscsubjects.com/api/graph?slugs=oip-what-is-http&layer=yield","obsidian_vault":"https://miscsubjects.com/api/articles/obsidian-vault?slugs=oip-what-is-http","graph_query":"https://miscsubjects.com/api/v1/query?from=oip-what-is-http&kind=claim&where=tier=human"},"ask":{"description":"Answer only from topology; creates a question_node with gaps.","api":"POST https://miscsubjects.com/api/protocol/ask","body":{"slug":"{slug}","question":"string"},"imessage":"oip-what-is-http|your question","router_tag":"[ARTICLE_ASK]oip-what-is-http|question[/ARTICLE_ASK]","auth":"x-terminal-key header for API; iMessage/WhatsApp via miscsubjects build"},"ingest":{"description":"Parse pasted evidence → source ledger + claims + evidence_ingest node.","api":"POST https://miscsubjects.com/api/protocol/ingest","body":{"slug":"{slug}","evidence":"paste text","question_node_id":"optional qn_..."},"imessage":"ingest oip-what-is-http|q:{node_id}|paste evidence","router_tag":"[ARTICLE_INGEST]oip-what-is-http|evidence[/ARTICLE_INGEST]","tiers":["human","preclinical","anecdotal","mechanistic","speculative"]},"claim":{"description":"Prompt-injection style POST — one claim voxel with who_claims + posted_by provenance.","api":"POST https://miscsubjects.com/api/protocol/claim","body":{"slug":"{slug}","text":"one assertion","tier":"human|preclinical|anecdotal|mechanistic|speculative","who_claims":"study author, platform, or model id","source_ids":"optional [s1]"},"imessage":"claim oip-what-is-http|tier|assertion — who claims it?","router_tag":"[ARTICLE_CLAIM]oip-what-is-http|tier|assertion[/ARTICLE_CLAIM]","slots":["what_it_is","who_claims_what","what_is_known","what_is_unknown","mechanism","limitations","disclaimer"]},"tiers":{"human":0.8,"preclinical":0.5,"anecdotal":0.3,"mechanistic":0.3,"speculative":0.1},"invariants":["Self-explaining — every API JSON has _self; every paste widget has §SELF; root index at /api/articles/system-map","Append-only — revisions preserved at ?rev=n","Source chain verifies integrity, not truth","Answers must cite claim ids and source ids from topology","Not medical advice"],"constitution":{"version":1,"principle":"Articles are voxel graphs of claims — not prose blobs. Every assertion is a claim atom with tier, weight, source_ids, and posted_by provenance.","slots":[{"id":"what_it_is","required":true,"answers":"What is this peptide/stack/condition?"},{"id":"who_claims_what","required":true,"answers":"Who claims what — study authors, platforms, n=?"},{"id":"what_is_known","required":true,"answers":"What is known with tier labels (human/preclinical/anecdotal)"},{"id":"what_is_unknown","required":true,"answers":"What is NOT known — explicit gaps"},{"id":"mechanism","required":false,"answers":"Proposed mechanism (mechanistic tier only)"},{"id":"limitations","required":true,"answers":"Limits of evidence — no dose advice"},{"id":"disclaimer","required":true,"answers":"Not medical advice"}],"claim_rules":["One claim = one falsifiable assertion. No compound claims.","Every claim must declare tier: human|preclinical|anecdotal|mechanistic|speculative|system.","system tier = architecture/design axioms (not biological mechanism). Use for protocol self-definition.","Sourced claims must cite source_ids from the hash-chained ledger.","Unsourced claims must set source_status: unsourced and why_material.","posted_by is mandatory on every new claim (model id, human, or channel).","No medical advice, no doses, no 'you should take'.","Bad information is retracted (status:retracted), never deleted — retraction event stays on ledger.","Adversary challenges link via challenges[] / challenged_by[] — target may be downweighted.","Leaked secrets are scrubbed to [REDACTED:secret-leak] with scrub_events tombstone — honest audit trail."],"source_rules":["Every source is a voxel edge: type, url, exact quote, summary, found_by, accessed_at.","Sources hash-chain — prev/hash on append.","Anecdotal sources must name platform (reddit|x|youtube|imessage|user_entry)."],"ontology_rules":["Peptide articles (bpc-157, tb-500) are tree roots.","Condition articles (bpc-157-glp1-gut-damage) branch from peptides.","Stack articles (wolverine-stack-glp1) compose peptides — never duplicate peptide mechanism prose.","If an article has no parent embeds and is not a root peptide → sprawl candidate.","Misstep = duplicate scope with another slug; merge or reparent via embeds."],"post_protocol":{"claim":"POST /api/protocol/claim","source":"POST /api/protocol/sources","ingest":"POST /api/protocol/ingest","webhook":"POST /api/articles/<slug>/webhook {kind:claim|source}","imessage_claim":"claim {slug}|{tier}|your assertion — who claims it, source?","imessage_ingest":"ingest {slug}|evidence paste"}},"this_article":{"slug":"oip-what-is-http","url":"https://miscsubjects.com/a/oip-what-is-http","bundle_url":"https://miscsubjects.com/api/articles/oip-what-is-http/bundle?format=markdown"}},"api_urls":{"bundle":"https://miscsubjects.com/api/articles/oip-what-is-http/bundle","bundle_markdown":"https://miscsubjects.com/api/articles/oip-what-is-http/bundle?format=markdown","topology":"https://miscsubjects.com/api/articles/oip-what-is-http/topology","voxels":"https://miscsubjects.com/api/articles/oip-what-is-http/voxels","constitution":"https://miscsubjects.com/api/articles/constitution","ontology":"https://miscsubjects.com/api/articles/ontology","question_graph":"https://miscsubjects.com/api/articles/oip-what-is-http/question-graph","ask":"https://miscsubjects.com/api/protocol/ask","ingest":"https://miscsubjects.com/api/protocol/ingest","claim":"https://miscsubjects.com/api/protocol/claim","system_map":"https://miscsubjects.com/api/articles/system-map","system_map_markdown":"https://miscsubjects.com/api/articles/system-map?format=markdown"}}