import http.server import socketsserver import ssl # Server hostname va port bilan bog'lanish uchun HOSTNAME = "0.0.0.0" PORT = 8000 # SSL sertifikat va kalit fayllari CERT_FILE = "server.pem" KEY_FILE = "key.pem" # IP manzili ruxsat berilgan mijozning ALLOWED_CLIENT_IP = None # Xost HTTP so'rovni boshqarish sinfi CustomHandler ((http.server.SimpleHTTPRequestHandler): def do_((((self): # So'rovni mijozdan ruxsat berilganligini tekshiring if ALLOWED_CLIENT_IP va self.client_address[0]!= ALLOWED_CENT_LIIP: # So'rovni mijozdan boshqacha bo'lsa "Taqiq
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence