
    Eg                         d dl mZ d ZdS )    )urlc                    |                      dd                                          }|                      dd                                          }|                      dd                                          }|                      dd                                          }|                     dd            |                     dd            |                     dd            d }d }|d	k    rt          d
          |dk    s|                    d          rd}nd}t          j        |          \  }}}}|r|                    d          \  }}}|sd}|s
|dk    rdnd}t          |          }||||||fS )Nz
:authority z:methodGETz:schemehttpsz:path/s   CONNECTz'CONNECT over HTTP/2 is not implemented.   *   /relativeabsolute   :s	   localhosts   httpsi  P   )	getencodepopNotImplementedError
startswithr   parse	partitionint)	headers	authoritymethodschemepathhostportfirst_line_format_s	            k/var/www/sysmax/venv/lib/python3.11/site-packages/seleniumwire/thirdparty/mitmproxy/net/http/http2/utils.pyparse_headersr!      s   L"--4466I[[E**1133F[[G,,3355F;;w$$++--DKK	4   KK	4   KKDD!"KLLLt||tt,,|&& #	$dA 2!++D11a  1((ssbt99DffdD$>>    N)*seleniumwire.thirdparty.mitmproxy.net.httpr   r!    r"   r    <module>r%      s0    : : : : : :!? !? !? !? !?r"   