💾 Archived View for tris.fyi › pydoc › amethyst.server captured on 2023-01-29 at 03:51:27. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-07-16)

🚧 View Differences

-=-=-=-=-=-=-

Back to module index

Go to module by name

amethyst

amethyst.server

This module has no docstring.

Classes

Response

Response(status_code: amethyst.response.Status, meta: str, content: Optional[bytes] = None)
content = None

Server

get_server(self)
handle_connection(self, reader, writer)

Status

An enumeration.
BAD_REQUEST = <Status.BAD_REQUEST: 59>
CERTIFICATE_NOT_AUTHORIZED = <Status.CERTIFICATE_NOT_AUTHORIZED: 61>
CERTIFICATE_NOT_VALID = <Status.CERTIFICATE_NOT_VALID: 62>
CGI_ERROR = <Status.CGI_ERROR: 42>
CLIENT_CERTIFICATE_REQUIRED = <Status.CLIENT_CERTIFICATE_REQUIRED: 60>
GONE = <Status.GONE: 52>
INPUT = <Status.INPUT: 10>
NOT_FOUND = <Status.NOT_FOUND: 51>
PERMANENT_FAILURE = <Status.PERMANENT_FAILURE: 50>
PROXY_ERROR = <Status.PROXY_ERROR: 43>
PROXY_REQUEST_REFUSED = <Status.PROXY_REQUEST_REFUSED: 53>
REDIRECT_PERMANENT = <Status.REDIRECT_PERMANENT: 31>
REDIRECT_TEMPORARY = <Status.REDIRECT_TEMPORARY: 30>
SENSITIVE_INPUT = <Status.SENSITIVE_INPUT: 11>
SERVER_UNAVAILABLE = <Status.SERVER_UNAVAILABLE: 41>
SLOW_DOWN = <Status.SLOW_DOWN: 44>
SUCCESS = <Status.SUCCESS: 20>
TEMPORARY_FAILURE = <Status.TEMPORARY_FAILURE: 40>
name = <types.DynamicClassAttribute object at 0x7f75e3bec2e0>
  The name of the Enum member.
value = <types.DynamicClassAttribute object at 0x7f75e3bec2b0>
  The value of the Enum member.

Functions

make_sni_context

make_sni_context(config: 'Config')

Other members

TYPE_CHECKING = False

Modules

asyncio

logging

signal

traceback