Dontopedia

Content-Type Check

From Dontopedia, the open, paraconsistent wiki. (Last updated 2026-06-10.)

Content-Type Check has 15 facts recorded in Dontopedia across 6 references, with 2 live disagreements.

15 facts·8 predicates·6 sources·2 in dispute

Mostly:rdf:type(6), performed by(1), compares to(1)

Maturity scale raw canonical shape-checked rule-derived certified

Inbound mentions (5)

Other subjects in dontopedia point AT this entity as a value. These are inverse relationships — e.g. "X motherOf this subject" — and answer questions the forward facts can't. Grouped by predicate.

usedByUsed by(2)

documentsChecksDocuments Checks(1)

hasStepHas Step(1)

usesConditionalLogicUses Conditional Logic(1)

Other facts (13)

The long tail: predicates that appear too rarely to warrant their own section. Filter or scroll to find a specific one. Each row links to its source.

13 facts
PredicateValueRef
Rdf:typeConditional Check[1]
Rdf:typeOperation[2]
Rdf:typeValidation Condition[3]
Rdf:typeConditional Check[4]
Rdf:typeValidation[5]
Rdf:typeValidation Step[6]
Performed byRequest Validation Middleware[2]
Compares toapplication/json[2]
Requires Valueapplication/json[3]
Compares InequalityApplication Json String[4]
ChecksContent Type Header[5]
Expected Valueapplication/json[5]
Returns on ErrorBad Request Response[5]

Timeline

Timeline axis is valid_time — when each source says the fact was true in the world, not when Dontopedia learned about it. Retracted rows are kept for provenance; coloured stripes indicate the context kind.

typebeam/1f8ee7c9-638f-4169-82c4-6a52aa4e0965
ex:ConditionalCheck
labelbeam/1f8ee7c9-638f-4169-82c4-6a52aa4e0965
if not request.headers.get("Content-Type") == "application/json":
typebeam/489950f5-8a6b-41bc-89ca-958506c8e179
ex:Operation
labelbeam/489950f5-8a6b-41bc-89ca-958506c8e179
Content-Type Check
performedBybeam/489950f5-8a6b-41bc-89ca-958506c8e179
ex:request-validation-middleware
comparesTobeam/489950f5-8a6b-41bc-89ca-958506c8e179
application/json
typebeam/fac20409-1e1c-4898-a9e4-9f9d1fbc406d
ex:ValidationCondition
requiresValuebeam/fac20409-1e1c-4898-a9e4-9f9d1fbc406d
application/json
typebeam/648ec3f3-22a4-4a2b-9d58-9715edb7400c
ex:ConditionalCheck
comparesInequalitybeam/648ec3f3-22a4-4a2b-9d58-9715edb7400c
ex:application-json-string
typebeam/9b59065b-0eb8-4ff7-b4ac-0e13d71a0c20
ex:Validation
checksbeam/9b59065b-0eb8-4ff7-b4ac-0e13d71a0c20
ex:content-type-header
expectedValuebeam/9b59065b-0eb8-4ff7-b4ac-0e13d71a0c20
application/json
returnsOnErrorbeam/9b59065b-0eb8-4ff7-b4ac-0e13d71a0c20
ex:bad-request-response
typebeam/226bac0f-6ac5-4017-a18b-20e2a4baf977
ex:ValidationStep

References (6)

6 references
  1. ctx:claims/beam/1f8ee7c9-638f-4169-82c4-6a52aa4e0965
  2. ctx:claims/beam/489950f5-8a6b-41bc-89ca-958506c8e179
  3. ctx:claims/beam/fac20409-1e1c-4898-a9e4-9f9d1fbc406d
    • full textbeam-chunk
      text/plain1 KBdoc:beam/fac20409-1e1c-4898-a9e4-9f9d1fbc406d
      Show excerpt
      from fastapi.responses import JSONResponse import logging import time app = FastAPI() # Middleware 1: Request Validation @app.middleware("http") async def validate_request(request: Request, call_next): start_time = time.time() con
  4. ctx:claims/beam/648ec3f3-22a4-4a2b-9d58-9715edb7400c
  5. ctx:claims/beam/9b59065b-0eb8-4ff7-b4ac-0e13d71a0c20
    • full textbeam-chunk
      text/plain905 Bdoc:beam/9b59065b-0eb8-4ff7-b4ac-0e13d71a0c20
      Show excerpt
      if content_type != "application/json": logging.warning(f"Invalid Content-Type: {content_type}") return JSONResponse(status_code=400, content={"detail": "Invalid Content-Type"}) response = await call_next(request)
  6. ctx:claims/beam/226bac0f-6ac5-4017-a18b-20e2a4baf977

See also

Keep researching

Missing something or suspicious of what's here? Kick off a research session — a Claude agent will investigate, cite its sources, and file new facts into a dedicated context you can review before accepting into the shared view.