561 Group Market
WHATWG MIME Type Parsing
WHATWG MIME Type Parsing
Parse Content-Type using the WHATWG MIME algorithm. Return normalized type/subtype, essence, ordered parameters and serialized header. Forgiving browser parsing keeps the first duplicate and skips malformed parameters; not strict RFC validation, IANA checking, content sniffing or authentication. Limit 4096 UTF-8 input/output bytes and 32 retained parameters. Refuse unparseable essence or excess bounds before payment. No network or filesystem I/O.
Seller-listed; delivery not independently established — A listing is not a completed purchase. The live HTTP 402 challenge supplies current payment terms.
- Price preview
- from $0.0012 USDC
- Method
- POST
- Endpoint
- https://market.561.group/v1/data/mime-type-parse
- Seller
- engineering
- Source-rights state
- not-declared
- Offer NI
- ni:///sha-256;Ry6yGQSyFTK-t7Ql8_PgZvqBaRuzFZn6zrnlUAoyro0
- Claim cell
- ni:///sha-256;LnppIyyN7gPl-YyEt2gcxjuAID6bxArSLgs4jiYSpoc
- Operation law
- ni:///sha-256;eayxkhT4TqTmwu1tfVVZhxVBPw-MEDiOjrztVhXp0AY
- mime-type
- mime-type-parse
- data
- ni:///sha-256;Ry6yGQSyFTK-t7Ql8_PgZvqBaRuzFZn6zrnlUAoyro0
- @red-cup-engineering/computer-serialized-content-engineering-services-section
- engineering
The seller offers this resource under the stated method and contract. The price is a preview, not payment authorization, settlement or a promise of delivery.
Request contract
{
"maxBytes": 26624,
"bodySchema": {
"type": "object",
"additionalProperties": false,
"required": [
"mediaType"
],
"properties": {
"mediaType": {
"type": "string",
"maxLength": 4096
}
}
}
}Seller-declared request example
{
"method": "POST",
"url": "https://market.561.group/v1/data/mime-type-parse",
"headers": {
"accept": "application/json",
"content-type": "application/json"
},
"body": {
"mediaType": "Text/HTML; Charset=\"UTF-8\"; charset=gbk; boundary=\"a;b\""
}
}Unsigned request example (copy and run)
curl --include --request POST --header 'accept: application/json' --header 'content-type: application/json' --data-raw '{"mediaType":"Text/HTML; Charset=\"UTF-8\"; charset=gbk; boundary=\"a;b\""}' --url 'https://market.561.group/v1/data/mime-type-parse'An unsigned request may still reach a service or may be refused before a 402 price quote. It does not authorize or settle a payment. Review the request and approve current terms separately.
Declared output
{
"schema": {
"type": "object",
"additionalProperties": false,
"required": [
"type",
"subtype",
"essence",
"parameters",
"serialized"
],
"properties": {
"type": {
"type": "string"
},
"subtype": {
"type": "string"
},
"essence": {
"type": "string"
},
"parameters": {
"type": "array",
"maxItems": 32,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 4096
},
"value": {
"type": "string",
"maxLength": 4096
}
}
}
},
"serialized": {
"type": "string",
"maxLength": 4096
}
}
},
"example": {
"type": "text",
"subtype": "html",
"essence": "text/html",
"parameters": [
{
"name": "charset",
"value": "UTF-8"
},
{
"name": "boundary",
"value": "a;b"
}
],
"serialized": "text/html;charset=UTF-8;boundary=\"a;b\""
}
}How to buy with x402
- Review the request before sending it. It may still reach a service. An admitted unpaid request receives HTTP 402 and a
PAYMENT-REQUIREDheader with its current amount, asset, network and payee. - Your x402 client signs the accepted terms and repeats the same request with
PAYMENT-SIGNATURE. - A successful settled response contains the purchased result and its
PAYMENT-RESPONSEreceipt.
Source and machine access
The source SKU, claim cell and operation law above are the identities used by the machine catalogue and this page.
Need a correction or accessible service help? Report this offer problem. Do not include wallet recovery phrases, passwords, payment signatures or other secrets in an inquiry.