Expand description
Response formatting for Postrust.
Handles content negotiation and response formatting for JSON, CSV, and other formats.
Structs§
- Content
Range - Content-Range header value.
- Query
Result - Query result for response formatting.
- Response
- A formatted HTTP response.
Enums§
- Format
Error - Response formatting error.
Functions§
- build_
response_ headers - Build response headers based on request and result.
- format_
json_ response - Format rows as a JSON array.
- format_
response - Format a query result as a response.