mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-07-03 21:20:49 +08:00
Simplify docstrings.
This commit is contained in:
parent
3eade55077
commit
e0b07014c0
@ -1,4 +1,4 @@
|
|||||||
"""Segment planning (PRD section 5.2).
|
"""Segment planning.
|
||||||
|
|
||||||
Split a known byte range into S roughly-equal segments, each fetched by its
|
Split a known byte range into S roughly-equal segments, each fetched by its
|
||||||
own coroutine with ``Range: bytes=start-end``. Falls back to a single segment
|
own coroutine with ``Range: bytes=start-end``. Falls back to a single segment
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
"""Manual, validated redirect-following request opener.
|
"""Manual, validated redirect-following request opener.
|
||||||
|
|
||||||
Automatic redirects are disabled (PRD section 9.2): we follow hops ourselves
|
Automatic redirects are disabled. We follow hops ourselves
|
||||||
so that on *every* hop we (a) re-validate scheme + reject credentials-in-URL,
|
so that on *every* hop we (a) re-validate scheme + reject credentials-in-URL,
|
||||||
(b) recompute which stored credential — if any — applies to that hop's host,
|
(b) recompute which stored credential — if any — applies to that hop's host,
|
||||||
and (c) let the connector's resolver screen the IP. This is the single place
|
and (c) let the connector's resolver screen the IP. This is the single place
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
"""Pre-download probe (PRD section 5.1).
|
"""Pre-download probe.
|
||||||
|
|
||||||
Issues a tiny ranged GET (``Range: bytes=0-0``) — which doubles as a
|
Issues a tiny ranged GET (``Range: bytes=0-0``) — which doubles as a
|
||||||
range-support test — to discover ``Content-Length``, ``Accept-Ranges``,
|
range-support test — to discover ``Content-Length``, ``Accept-Ranges``,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user