|
a/src/mediaserver/cdplugins/uprcl/uprclhttp.py |
|
b/src/mediaserver/cdplugins/uprcl/uprclhttp.py |
|
... |
|
... |
45 |
|
45 |
|
46 |
class RangeHTTPRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler):
|
46 |
class RangeHTTPRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler):
|
47 |
|
47 |
|
48 |
"""Simple HTTP request handler with GET and HEAD commands.
|
48 |
"""Simple HTTP request handler with GET and HEAD commands.
|
49 |
|
49 |
|
50 |
This serves files from the current directory and any of its
|
50 |
The MIME type for files is determined by calling the .guess_type() method.
|
51 |
subdirectories. The MIME type for files is determined by
|
|
|
52 |
calling the .guess_type() method.
|
|
|
53 |
|
51 |
|
54 |
The GET and HEAD requests are identical except that the HEAD
|
52 |
The GET and HEAD requests are identical except that the HEAD
|
55 |
request omits the actual contents of the file.
|
53 |
request omits the actual contents of the file.
|
56 |
|
54 |
|
57 |
"""
|
55 |
"""
|