Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

configure socketio static file python specific content type

static_files = {
    '/': {'filename': 'latency.html', 'content_type': 'text/plain'},
}
Source by python-socketio.readthedocs.io #
 
PREVIOUS NEXT
Tagged: #configure #socketio #static #file #python #specific #content #type
ADD COMMENT
Topic
Name
7+9 =