State the final host contract in the package docstring and the plan, with ranks, case, detail fields and robots.txt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4fb06191cf
commit
2ff5046993
3 files changed
+154
-46
No files matched your search
@@ -34,7 +34,8 @@ class Get(Protocol):
|
||||
allow-list, the redirect rule, the byte cap and the deadline apply to
|
||||
every request a host makes. A POST sends `payload` as JSON; `headers` are
|
||||
added to (and may replace) the default User-Agent and Accept. Returns the
|
||||
body, and raises on a non-2xx answer as `httpx` does."""
|
||||
body, and raises `httpx.HTTPStatusError` on a non-2xx answer; see
|
||||
"Fetching" in the package's docstring for the rest."""
|
||||
|
||||
def __call__(self, url: str, *, method: str = "GET",
|
||||
payload: dict[str, Any] | None = None,
|
||||
|
||||
Reference in new issue
Block a user