o
     i                     @   s   d Z zddlmZ W n ey   ddlZY nw ddlmZ ddlZe Z	e	j
dddedd	d
 e	j
ddddd e	 Zejeejejd dS )a]  
Use this in the same way as Python's SimpleHTTPServer:

  python -m RangeHTTPServer [port]

The only difference from SimpleHTTPServer is that RangeHTTPServer supports
'Range:' headers to load portions of files. This is helpful for doing local web
development with genomic data files, which tend to be to large to load into the
browser all at once.
    N   )RangeRequestHandlerportstorei@  ?z&Specify alternate port [default: 8000])actiondefaulttypenargshelpz-bz--bindADDRESSz.bind to this address (default: all interfaces))metavarr   )HandlerClassr   bind)__doc__http.serverserverSimpleHTTPServerImportError r   argparseArgumentParserparseradd_argumentint
parse_argsargstestr   r    r   r   V/home/ubuntu/SoloSpeech/.venv/lib/python3.10/site-packages/RangeHTTPServer/__main__.py<module>   s$    
