Skip to content
Commit 6f24d9df authored by jan.koester's avatar jan.koester
Browse files

Feature: Add HTTP/3 QUIC Status Badges to responses

- Implement SVG status badges for HTTP responses
- Green badge (#22c55e) for HTTP/3 QUIC connections
- Red badge (#ef4444) for HTTP/1.1 TCP fallback connections
- Embed SVG directly in HTML responses (no external requests)
- Add connection detection in RequestEvent()
- Professional styling with Segoe UI font and responsive layout
- Include RFC compliance information in responses
- Remove SVG from server logs for cleaner output
- Add comprehensive documentation and examples
- Build: Clean compilation with 0 errors, 0 warnings

Files modified:
- test/quic_test.cpp: Updated RequestEvent(), ConnectEvent()

Files created:
- http3_response_example.html: Example HTTP/3 response with green badge
- http1_response_example.html: Example HTTP/1.1 response with red badge
- badge_success.svg: Standalone green badge SVG
- badges_comparison.svg: Side-by-side badge comparison
- QUIC_SVG_BADGES.md: Badge implementation documentation
- HTTP_RESPONSE_BADGES.md: Response structure documentation
- FEATURE_COMPLETE.md: Complete implementation guide
- FEATURE_SUMMARY.md: Feature overview and testing results
- SVG_CLEANUP_SUMMARY.md: SVG logging cleanup summary
parent ba1430c9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment