Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 107
Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 234
Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 235
Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 236
Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 237
Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 238
Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 239
ó
zfc @ sþ d Z d Z d g Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l
Z
d d l Z y d d l m
Z
Wn! e k
r¸ d d l
m
Z
n Xd e j f d „ ƒ YZ e e j d „ Z e d k rú e ƒ n d S( s’ Simple HTTP Server.
This module builds on BaseHTTPServer by implementing the standard GET
and HEAD requests in a fairly straightforward manner.
s 0.6t SimpleHTTPRequestHandleriÿÿÿÿN( t StringIOc B s¥ e Z d Z d e Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z
d „ Z e j
sk e j ƒ n e j j ƒ Z e j i d d
6d d 6d d
6d d 6ƒ RS( sW Simple HTTP request handler with GET and HEAD commands.
This serves files from the current directory and any of its
subdirectories. The MIME type for files is determined by
calling the .guess_type() method.
The GET and HEAD requests are identical except that the HEAD
request omits the actual contents of the file.
s SimpleHTTP/c C s> | j ƒ } | r: z | j | | j ƒ Wd | j ƒ Xn d S( s Serve a GET request.N( t send_headt copyfilet wfilet close( t selft f( ( s( /usr/lib64/python2.7/SimpleHTTPServer.pyt do_GET+ s
c C s# | j ƒ } | r | j ƒ n d S( s Serve a HEAD request.N( R R ( R R ( ( s( /usr/lib64/python2.7/SimpleHTTPServer.pyt do_HEAD4 s c C sã | j | j ƒ } d } t j j | ƒ rt j | j ƒ } | j j d ƒ sµ | j d ƒ | d | d | d d | d | d f } t j | ƒ } | j
d | ƒ | j ƒ d SxO d D]7 } t j j | | ƒ } t j j
| ƒ r¼ | } Pq¼ q¼ W| j | ƒ Sn | j | ƒ } y t | d ƒ } Wn" t k
rM| j d d
ƒ d SXyz | j d ƒ | j
d | ƒ t j | j ƒ ƒ } | j
d t | d ƒ ƒ | j
d | j | j ƒ ƒ | j ƒ | SWn | j ƒ ‚ n Xd S( s{ Common code for GET and HEAD commands.
This sends the response code and MIME headers.
Return value is either a file object (which has to be copied
to the outputfile by the caller unless the command was HEAD,
and must be closed by the caller under all circumstances), or
None, in which case the caller has nothing further to do.
t /i- i i i i i t Locations
index.htmls index.htmt rbi” s File not foundiÈ s Content-types Content-Lengthi s
Last-ModifiedN( s
index.htmls index.htm( t translate_patht patht Nonet ost isdirt urlparset urlsplitt endswitht
send_responset
urlunsplitt send_headert end_headerst joint existst list_directoryt
guess_typet opent IOErrort
send_errort fstatt filenot strt date_time_stringt st_mtimeR ( R R R t partst new_partst new_urlt indext ctypet fs( ( s( /usr/lib64/python2.7/SimpleHTTPServer.pyR : sF
c C sÆ y t j | ƒ } Wn% t j k
r: | j d d ƒ d SX| j d d „ ƒ t ƒ } t j t j
| j ƒ ƒ } | j d ƒ | j d | ƒ | j d | ƒ | j d ƒ xž | D]– } t j j
| | ƒ } | } } t j j | ƒ r| d } | d } n t j j | ƒ r"| d
} n | j d t j | ƒ t j | ƒ f ƒ qµ W| j d ƒ | j ƒ } | j d
ƒ | j d ƒ t j ƒ }
| j d d |
ƒ | j d t | ƒ ƒ | j ƒ | S( sû Helper to produce a directory listing (absent index.html).
Return value is either a file object, or None (indicating an
error). In either case, the headers are sent, making the
interface the same as for send_head().
i” s No permission to list directoryt keyc S s
| j ƒ S( N( t lower( t a( ( s( /usr/lib64/python2.7/SimpleHTTPServer.pyt { t s7 s/
Directory listing for %s
s)
Directory listing for %s
s
i iÈ s Content-types text/html; charset=%ss Content-LengthN( R t listdirt errorR R t sortR t cgit escapet urllibt unquoteR t writeR R t islinkt quotet tellt seekR t syst getfilesystemencodingR R" R ( R R t listR t displaypatht namet fullnamet displaynamet linknamet lengtht encoding( ( s( /usr/lib64/python2.7/SimpleHTTPServer.pyR n s>
$
c C sð | j d d ƒ d } | j d d ƒ d } | j ƒ j d ƒ } t j t j | ƒ ƒ } | j d ƒ } t d | ƒ } t j
ƒ } xS | D]K } t j j | ƒ sŠ | t j
t j f k rÀ qŠ n t j j | | ƒ } qŠ W| rì | d 7} n | S( sñ Translate a /-separated PATH to the local filename syntax.
Components that mean special things to the local file system
(e.g. drive or directory names) are ignored. (XXX They should
probably be diagnosed.)
t ?i i t #R
N( t splitt rstripR t posixpatht normpathR6 R7 t filterR R t getcwdR t dirnamet curdirt pardirR ( R R t trailing_slasht wordst word( ( s( /usr/lib64/python2.7/SimpleHTTPServer.pyR
˜ s
*
c C s t j | | ƒ d S( sñ Copy all data between two file objects.
The SOURCE argument is a file object open for reading
(or anything with a read() method) and the DESTINATION
argument is a file object open for writing (or
anything with a write() method).
The only reason for overriding this would be to change
the block size or perhaps to replace newlines by CRLF
-- note however that this the default server uses this
to copy binary data as well.
N( t shutilt copyfileobj( R t sourcet
outputfile( ( s( /usr/lib64/python2.7/SimpleHTTPServer.pyR ² s c C sd t j | ƒ \ } } | | j k r/ | j | S| j ƒ } | | j k rU | j | S| j d Sd S( s» Guess the type of a file.
Argument is a PATH (a filename).
Return value is a string of the form type/subtype,
usable for a MIME Content-type header.
The default implementation looks the file's extension
up in the table self.extensions_map, using application/octet-stream
as a default; however it would be permissible (if
slow) to look inside the data to make a better guess.
R/ N( RK t splitextt extensions_mapR, ( R R t baset ext( ( s( /usr/lib64/python2.7/SimpleHTTPServer.pyR Â s s application/octet-streamR/ s
text/plains .pys .cs .h( t __name__t
__module__t __doc__t __version__t server_versionR R R R R
R R t mimetypest initedt initt types_mapt copyRZ t update( ( ( s( /usr/lib64/python2.7/SimpleHTTPServer.pyR s"
4 *
c C s t j | | ƒ d S( N( t BaseHTTPServert test( t HandlerClasst ServerClass( ( s( /usr/lib64/python2.7/SimpleHTTPServer.pyRi å s t __main__( R_ R` t __all__R RK Rh R6 R R4 R= RU Rb t cStringIOR t ImportErrort BaseHTTPRequestHandlerR t
HTTPServerRi R] ( ( ( s( /usr/lib64/python2.7/SimpleHTTPServer.pyt s(
É