Lightweight SyncRequest for the fused sync path.
Minimal request wrapper for handle_sync(). Only method and path are decoded eagerly; query, cookies, and headers are lazy via cached_property.
http.sync_request
| Name | Type | Default | Description |
|---|---|---|---|
type
|
|
— | |
qualified_name
|
|
— | |
element_type
|
|
— | |
description
|
|
— | |
source_file
|
|
— | |
line_number
|
|
— | |
is_autodoc
|
|
— | |
autodoc_element
|
|
— | |
_autodoc_template
|
|
— | |
_autodoc_url_path
|
|
— | |
_autodoc_page_type
|
|
— | |
title
|
|
— | |
doc_content_hash
|
|
— |
Symbols on this page
Lazy import to avoid circular dependency with pounce.
Minimal request for the fused sync path.
Only method and path are decoded eagerly. Query, cookies, and headers are lazy — only parsed when…
Get a header value by lowercase name.
_raw_request_type
function
def _raw_request_type() -> type
Lazy import to avoid circular dependency with pounce.
No parameters.
SyncRequest
class
Minimal request for the fused sync path.
Only method and path are decoded eagerly. Query, cookies, and headers are lazy — only parsed when accessed.
_get_header_bytes
function
def _get_header_bytes(headers: tuple[tuple[bytes, bytes], ...], name: bytes) -> bytes | None
Get a header value by lowercase name.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
headers
|
tuple[tuple[bytes, bytes], ...]
|
— | |
name
|
bytes
|
— |
View source · /home/runner/work/chirp/chirp/site/../src/chirp/http/sync_request.py:1