SourceLimits
yosoi.policy.SourceLimits
class SourceLimits(Model):
Separate retained byte budgets for the HTTP source stages.
Attributes: content_coded_bytes: Maximum compressed/content-coded response-body bytes admitted. representation_bytes: Maximum decoded representation bytes after content decoding. unicode_utf8_bytes: Maximum UTF-8 bytes in a decoded Unicode text view.
Source: python/yosoi/policy.py:319
Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.
Fields and class attributes
Section titled “Fields and class attributes”content_coded_bytes: AddressableByteLimitValue = _field('request', 'source', 'content_coded_bytes')
representation_bytes: AddressableByteLimitValue = _field('request', 'source', 'representation_bytes')
unicode_utf8_bytes: AddressableByteLimitValue = _field('request', 'source', 'unicode_utf8_bytes')