Server IP : 15.235.198.142 / Your IP : 216.73.216.190 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/twisted/web/__pycache__/ |
Upload File : |
� Ϫ�fV5 � � � d Z g d�ZddlmZ ddlmZmZmZ ddlm Z ddl mZ deee f dee fd �Z G d � de� Z G d� d e� Z G d� de� Z G d� de� Z G d� de� Z G d� de� Z G d� de� Z G d� de� Z G d� de� Z G d� de� Z G d� de� Z G d � d!e� Z G d"� d#e� Z G d$� d%e� Z G d&� d'e� Zy())z+ Exception definitions for L{twisted.web}. )�Error�PageRedirect�InfiniteRedirection�RenderError�MissingRenderMethod�MissingTemplateLoader�UnexposedMethodError�UnfilledSlot�UnsupportedType�FlattenerError�RedirectWithNoLocation� )�Sequence)�Optional�Union�cast)�nativeString)� RESPONSES�code�returnc �j � t j t | � � S # t t f$ r Y yw xY w)z� Returns the response message corresponding to an HTTP code, or None if the code is unknown or unrecognized. @param code: HTTP status code, for example C{http.NOT_FOUND}. @return: A string message or none N)r �get�int� ValueError�AttributeError)r s �3/usr/lib/python3/dist-packages/twisted/web/error.py�_codeToMessager s1 � ���}�}�S��Y�'�'����'� ���s � �2�2c �| � e Zd ZU dZeed<