Expand description
HTTP Prefer header parsing
Parses HTTP Prefer headers into structured preference objects.
Parses RFC 7240 Prefer headers into structured preference types.
Structs§
- Preferences
- All recognized preferences from Prefer headers.
Enums§
- Prefer
Count - How to count results.
- Prefer
Handling - How to handle unrecognized preferences.
- Prefer
Missing - How to handle missing columns in insert/update.
- Prefer
Plurality - Response plurality preference.
- Prefer
Representation - How to return mutated data.
- Prefer
Resolution - How to handle duplicate values during upsert.
- Prefer
Transaction - Whether to commit or rollback the transaction.