Skip to content

HttpHeader

Base classes

Name Children Inherits
AnnotatedObject
aclientp.schema.v2.base
A v2 object with the ``_meta`` extension point.

⋔ Inheritance diagram

graph TD
  95970868573296["common.HttpHeader"]
  95970868359040["base.AnnotatedObject"]
  95970855946400["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970868359040 --> 95970868573296
  95970855946400 --> 95970868359040
  95970851503232 --> 95970855946400
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

An HTTP header to send with requests.

Source code in src/aclientp/schema/v2/common.py
class HttpHeader(AnnotatedObject):
    """An HTTP header to send with requests."""

    name: str
    """Name of the header."""

    value: str
    """Value of the header."""

name instance-attribute

name: str

Name of the header.

value instance-attribute

value: str

Value of the header.

:fa-brands-github: Show source on GitHub