Commit Graph
5 Commits
Author SHA1 Message Date
andrey e1a24a98f7 fix: accept case-insensitive Basic scheme and guard HTTP test target
- parse the Basic auth-scheme case-insensitively (RFC 7235), matching Bearer
- register the http_server test only when pip_http_server and pip_http_client
  targets exist, so TESTS=ON without the HTTP modules does not fail to link
- add a Basic_LowercaseScheme test
2026-09-23 08:49:04 +03:00
andrey 9b459330df fixes 2026-09-06 13:52:47 +03:00
andrey 1025b978aa Add HTTP Bearer auth server class with token validator 2026-09-05 23:01:14 +03:00
andrey 6327720e73 Add multi-user Basic auth support via AuthInfo 2026-09-05 22:51:50 +03:00
andrey 4e1ab26124 Add HTTP Basic Auth and protected server modules
- PIHTTPServerBasicAuth: parse Authorization: Basic header, validate credentials via callback
- PIHTTPServerProtected: wrap any handler with auth check (basic or custom token)
- Integration tests for both modules (12 test cases)
2026-09-05 21:59:42 +03:00