Expand description
Shared HTTP utilities for GitHub API communication.
Provides a single github_headers builder used by both diff fetching
and review submission, along with validate_github_base_url for
strict allowlisting of GitHub API endpoints.
Functionsยง
- build_
github_ http_ client - Builds a
reqwest::Clientwith a standard timeout. - github_
diff_ headers - Builds headers specifically for fetching PR diffs.
- github_
headers - Builds default headers for GitHub API requests.
- validate_
github_ base_ url - Validates that a GitHub API base URL is on the allowlist.
- validate_
provider_ base_ url - Validates that a provider API base URL is safe for use in CI mode.