“and headers”
- ID
f0264c4- date
2026-03-29 21:22:32+00:00- author
Alex Chan <alex@alexwlchan.net>- parent
620413e- message
"and headers"- changed files
1 file, 1 addition, 1 deletion
Changed files
expansions/http.py (893) → expansions/http.py (905)
diff --git a/expansions/http.py b/expansions/http.py
index 2d3b1f5..5e26e56 100644
--- a/expansions/http.py
+++ b/expansions/http.py
@@ -12,7 +12,7 @@ import certifi
def http_get(url: str, params: dict[str, str] | None = None, headers: dict[str, str] | None = None) -> tuple[bytes, dict[str, str]]:
"""
Makes an HTTP GET request to the given URL, and returns the body
- of the response.
+ and headers of the response.
"""
ssl_context = ssl.create_default_context(cafile=certifi.where())