Your IP : 216.73.216.213
�
�0�i�� � � � d Z ddlmZ ddlmZmZmZmZ ddlm Z m
Z
ddlZddlZddl
Z
ddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlmZ ddl m!Z!m"Z" ddlZddl#m$Z$ dd l%m&Z& dd
l%m'Z' e$j( d�� � G d
� d� � Z) G d� dej* � � Z+ G d� dej, � � Z- G d� de-� � Z. G d� de-� � Z/ G d� de-� � Z0dZ1dZ2dZ3dZ4dZ5 ej6 e7ed� � o ej8 � � dk d� � G d � d!e-� � � � Z9 G d"� d#e� � Z: G d$� d%e:� � Z; G d&� d'� � Z< G d(� d)ej, � � Z= G d*� d+ej, � � Z> G d,� d-ej, � � Z? G d.� d/ej, � � Z@d0� ZAeBd1k r ejC � � dS dS )2z�Unittests for the various HTTPServer modules.
Written by Cody A.W. Somerville <cody-somerville@ubuntu.com>,
Josip Dzolonga, and Michael Otteneder for the 2007/08 GHOP contest.
� )�OrderedDict)�BaseHTTPRequestHandler�
HTTPServer�SimpleHTTPRequestHandler�CGIHTTPRequestHandler)�server�
HTTPStatusN)�mock)�BytesIO�StringIO)�support)� os_helper)�threading_helperT)�modulec � � e Zd Zd� Zdd�ZdS )�NoLogRequestHandlerc � � d S �N� )�self�argss �</opt/alt/python311/lib64/python3.11/test/test_httpservers.py�log_messagezNoLogRequestHandler.log_message'