Expand description
.well-known/tea documents and /discovery responses.
Parsing enforces the pinned schema constraints that decide failover:
schemaVersion 1, non-empty endpoint lists, absolute base URLs, and
SemVer versions. Priority omitted on the wire becomes 1.
Structs§
- Discovery
Info - One resolved product release from
/discovery. - Discovery
Server - One
servers[]entry. - Well
Known Document - A validated
.well-known/teadocument. - Well
Known Endpoint - One well-known endpoint.
Functions§
- is_
json_ content_ type - Whether a media type is
application/json, ignoring parameters and case. - tea_
error_ code - Decide whether a
404body is a TEA error response. - with_
query - Append one query parameter, encoding it a single time.