docs: update pages with the XHR feature

This commit is contained in:
Karim shoair
2026-03-29 23:12:56 +02:00
parent 5c450a3b52
commit 61cda587be
5 changed files with 40 additions and 2 deletions
+12 -1
View File
@@ -26,7 +26,18 @@ if TYPE_CHECKING:
class Response(Selector):
"""This class is returned by all engines as a way to unify the response type between different libraries."""
"""This class is returned by all engines as a way to unify the response type between different libraries.
:param status: HTTP status code.
:param reason: HTTP status message.
:param cookies: Response cookies.
:param headers: Response headers.
:param request_headers: Request headers sent with the request.
:param history: List of redirect responses, if any.
:param meta: Metadata dictionary (e.g., proxy used).
:param request: Associated spider Request object (set by crawler, in the spiders framework).
:param captured_xhr: List of captured XHR/fetch ``Response`` objects. Populated when ``capture_xhr`` is set on a browser session.
"""
def __init__(
self,