4 ms·
Hi, I'm one of the contributors to cappy. Thank you for the suggestions. No sendfile() support as of now but seems like a good addition as it probably would sp
by stc043 10y ago
Hi, I'm one of the contributors to cappy. Thank you for the suggestions.
No sendfile() support as of now but seems like a good addition as it probably would speed up the caching.
The base HTTP server class sends only the timestamp and version and doesn't send the Content-type header. Python's SimpleHTTPServer[1] does this in a simple-enough manner and it would make a good pull-request :)
[1] https://github.com/enthought/Python-2.7.3/blob/master/Lib/SimpleHTTPServer.py#L55 https://github.com/enthought/Python-2.7.3/blob/master/Lib/Si...