.E F d gZ ddlZddlZddlZ ej d Z ej d Z G d de Zd Z d Z d Z G d d Z G d d Z G d d Z G d d Z G d d Zd Zd Zd Zd Zd Zd Zd Zd ZdS ) validator Nz^[a-zA-Z][a-zA-Z0-9\-_]*$z[\000-\037]c e Zd ZdS )WSGIWarningN)__name__ __module____qualname__ =/opt/alt/python-internal/lib64/python3.11/wsgiref/validate.pyr r y s r r c | s t | d S N)AssertionError)condargss r assert_r ~ s $d##$ $r c t | t u r| S t d |t | )Nz!{0} must be of type str (got {1}))typestrr formatrepr)valuetitles r check_string_typer sF U||s +225$u++FFH H Hr c fd}|S )Nc t t | dk d t | d | \ }t | g fd}t |d |d<