caplost
|
15ef1d4739
|
feat: add comprehensive tests for Context.Negotiate() method
Add test cases covering:
- JSON, HTML, XML, YAML, TOML content negotiation
- Accept header parsing with quality values
- Fallback mechanisms and data precedence
- Wildcard and partial matching
- Error handling for unsupported formats
All tests pass successfully.
|
2025-07-29 12:02:27 +08:00 |
|