Tornado 4.5 Documentation
AsyncHTTPClient). An asynchronous networking library including the classes IOLoop and IOStream, which serve as the building blocks for the HTTP components and can also be used to implement other protocols. proxy_pass http://frontends; } } } Static files and aggressive file caching You can serve static files from Tornado by specifying the static_path setting in your application: settings = { start with /static/ serve from that static directory, e.g., http://localhost:8888/static/foo.png will serve the file foo.png from the specified static directory. We also automatically serve /robots.txt and0 码力 | 333 页 | 322.34 KB | 1 年前3
Tornado 4.5 Documentation
AsyncHTTPClient). • An asynchronous networking library including the classes IOLoop and IOStream, which serve as the building blocks for the HTTP components and can also be used to implement other protocols. X-Scheme $scheme; proxy_pass http://frontends; } } } Static files and aggressive file caching You can serve static files from Tornado by specifying the static_path setting in your application: 32 Chapter 4 start with /static/ serve from that static directory, e.g., http://localhost:8888/static/foo.png will serve the file foo.png from the specified static directory. We also automatically serve /robots.txt and0 码力 | 222 页 | 833.04 KB | 1 年前3
Tornado 5.1 Documentation
AsyncHTTPClient). • An asynchronous networking library including the classes IOLoop and IOStream, which serve as the building blocks for the HTTP components and can also be used to implement other protocols. X-Scheme $scheme; proxy_pass http://frontends; } } } Static files and aggressive file caching You can serve static files from Tornado by specifying the static_path setting in your application: settings = { start with /static/ serve from that static directory, e.g., http://localhost:8888/static/foo.png will serve the file foo.png from the specified static directory. We also automatically serve /robots.txt and0 码力 | 243 页 | 895.80 KB | 1 年前3
Tornado 6.1 Documentation
AsyncHTTPClient). • An asynchronous networking library including the classes IOLoop and IOStream, which serve as the building blocks for the HTTP components and can also be used to implement other protocols. X-Scheme $scheme; proxy_pass http://frontends; } } } Static files and aggressive file caching You can serve static files from Tornado by specifying the static_path setting in your application: settings = { start with /static/ serve from that static directory, e.g. http://localhost:8888/static/foo.png will serve the file foo.png from the specified static directory. We also automatically serve /robots.txt and0 码力 | 245 页 | 904.24 KB | 1 年前3
Tornado 6.0 Documentation
AsyncHTTPClient). • An asynchronous networking library including the classes IOLoop and IOStream, which serve as the building blocks for the HTTP components and can also be used to implement other protocols. guide 37 Tornado Documentation, Release 6.0.4 Static files and aggressive file caching You can serve static files from Tornado by specifying the static_path setting in your application: settings = { start with /static/ serve from that static directory, e.g. http://localhost:8888/static/foo.png will serve the file foo.png from the specified static directory. We also automatically serve /robots.txt and0 码力 | 245 页 | 885.76 KB | 1 年前3
Tornado 5.1 Documentation
AsyncHTTPClient). An asynchronous networking library including the classes IOLoop and IOStream, which serve as the building blocks for the HTTP components and can also be used to implement other protocols. proxy_pass http://frontends; } } } Static files and aggressive file caching You can serve static files from Tornado by specifying the static_path setting in your application: settings = { start with /static/ serve from that static directory, e.g., http://localhost:8888/static/foo.png will serve the file foo.png from the specified static directory. We also automatically serve /robots.txt and0 码力 | 359 页 | 347.32 KB | 1 年前3
Tornado 6.4 Documentation
AsyncHTTPClient). • An asynchronous networking library including the classes IOLoop and IOStream, which serve as the building blocks for the HTTP components and can also be used to implement other protocols. X-Scheme $scheme; proxy_pass http://frontends; } } } Static files and aggressive file caching You can serve static files from Tornado by specifying the static_path setting in your application: settings = { with /static/ serve from that static directory, e.g. http:/ /localhost:8888/static/foo.png will serve the file foo.png from the specified static directory. We also au- tomatically serve /robots.txt and0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.2 Documentation
AsyncHTTPClient). • An asynchronous networking library including the classes IOLoop and IOStream, which serve as the building blocks for the HTTP components and can also be used to implement other protocols. X-Scheme $scheme; proxy_pass http://frontends; } } } Static files and aggressive file caching You can serve static files from Tornado by specifying the static_path setting in your application: settings = { with /static/ serve from that static directory, e.g. http:/ /localhost:8888/static/foo.png will serve the file foo.png from the specified static directory. We also au- tomatically serve /robots.txt and0 码力 | 260 页 | 1.06 MB | 1 年前3
Tornado 6.4 Documentation
AsyncHTTPClient). • An asynchronous networking library including the classes IOLoop and IOStream, which serve as the building blocks for the HTTP components and can also be used to implement other protocols. X-Scheme $scheme; proxy_pass http://frontends; } } } Static files and aggressive file caching You can serve static files from Tornado by specifying the static_path setting in your application: settings = { with /static/ serve from that static directory, e.g. http:/ /localhost:8888/static/foo.png will serve the file foo.png from the specified static directory. We also au- tomatically serve /robots.txt and0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.4 Documentation
AsyncHTTPClient). • An asynchronous networking library including the classes IOLoop and IOStream, which serve as the building blocks for the HTTP components and can also be used to implement other protocols. X-Scheme $scheme; proxy_pass http://frontends; } } } Static files and aggressive file caching You can serve static files from Tornado by specifying the static_path setting in your application: settings = { with /static/ serve from that static directory, e.g. http:/ /localhost:8888/static/foo.png will serve the file foo.png from the specified static directory. We also au- tomatically serve /robots.txt and0 码力 | 268 页 | 1.09 MB | 1 年前3
共 20 条
- 1
- 2













