Skip to main content

HttpHeaders

A dictionary-like object representing HTTP headers.

Index

Methods

__delitem__

  • __delitem__(key): None
  • Parameters

    • key: str

    Returns None

__getitem__

  • __getitem__(key): str
  • Parameters

    • key: str

    Returns str

__iter__

  • __iter__(): Iterator[str]
  • Returns Iterator[str]

__len__

  • __len__(): int
  • Returns int

__or__

  • Return a new instance of HttpHeaders combining this one with another one.


    Parameters

    Returns HttpHeaders

__ror__

__setitem__

  • __setitem__(key, value): None
  • Parameters

    • key: str
    • value: str

    Returns None

Properties

model_config

model_config: Undefined

root

root: dict[str, str]

noqa: RUF012