Flask Documentation (1.1.x)User’s Guide This part of the documentation, which is mostly prose, begins with some background information about Flask, then focuses on step-by-step instructions for web development with Flask. Foreword environments Install Flask Install virtualenv Quickstart A Minimal Application What to do if the Server does not Start Debug Mode Routing Static Files Rendering Templates Accessing Request Data Redirects Sessions Message Flashing Logging Hooking in WSGI Middleware Using Flask Extensions Deploying to a Web Server Tutorial Project Layout Application Setup Define and Access the Database Blueprints and Views Templates0 码力 | 428 页 | 895.98 KB | 1 年前3
Flask Documentation (1.1.x). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 1.19 Development Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 1.20 Working USER’S GUIDE This part of the documentation, which is mostly prose, begins with some background information about Flask, then focuses on step-by-step instructions for web development with Flask. 1.1 Foreword write a web application, you are probably allowing users to register and leave their data on your server. The users are entrusting you with data. And even if you are the only user that might leave data0 码力 | 291 页 | 1.25 MB | 1 年前3
waitress Documentation v3.0.1
Waitress Waitress is meant to be a production-quality pure-Python WSGI server with very acceptable performance. It has no dependencies except ones which live in the Python standard library. It runs on Extended Documentation Usage Access Logging Using Behind a Reverse Proxy Design Differences from zope.server waitress API Arguments to waitress.serve Support for wsgi.file_wrapper waitress-serve Socket Activation if we accept() a socket that is already gone, setting socket options would fail and take down the server. See https://github.com/Pylons/waitress/pull/399 Fixed testing of vendored asyncore code to not rely0 码力 | 55 页 | 56.36 KB | 1 年前3
waitress Documentation v2.1.1Waitress Waitress is meant to be a production-quality pure-Python WSGI server with very acceptable performance. It has no dependencies except ones which live in the Python standard library. It runs on Extended Documentation Usage Access Logging Using Behind a Reverse Proxy Design Differences from zope.server waitress API Arguments to waitress.serve Support for wsgi.file_wrapper waitress-serve Socket Activation attempts to guess at what the server_name should be for a listen socket, instead it always use a new adjustment/argument named server_name. Please see the documentation for server_name in https://docs.pylonsproject0 码力 | 53 页 | 58.27 KB | 1 年前3
waitress Documentation v2.1.0Waitress Waitress is meant to be a production-quality pure-Python WSGI server with very acceptable performance. It has no dependencies except ones which live in the Python standard library. It runs on Extended Documentation Usage Access Logging Using Behind a Reverse Proxy Design Differences from zope.server waitress API Arguments to waitress.serve Support for wsgi.file_wrapper waitress-serve Socket Activation attempts to guess at what the server_name should be for a listen socket, instead it always use a new adjustment/argument named server_name. Please see the documentation for server_name in https://docs.pylonsproject0 码力 | 52 页 | 57.95 KB | 1 年前3
Python 标准库参考指南 2.7.18 network servers . . . . . . . . . . . . . . . . . . . . . . . . . 961 20.18 BaseHTTPServer —Basic HTTP server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 969 20.19 SimpleHTTPServer —Simple 988 20.24 SimpleXMLRPCServer —Basic XML-RPC server . . . . . . . . . . . . . . . . . . . . . . . . . 996 20.25 DocXMLRPCServer —Self-documenting XML-RPC server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1217 28.2 sysconfig —Provide access to Python’s configuration information . . . . . . . . . . . . . . . . . 1229 28.3 __builtin__ —Built-in objects . . . . . . . . . .0 码力 | 1552 页 | 7.42 MB | 9 月前3
Python 标准库参考指南 2.7.18 network servers . . . . . . . . . . . . . . . . . . . . . . . . . 961 20.18 BaseHTTPServer —Basic HTTP server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 969 20.19 SimpleHTTPServer —Simple 988 20.24 SimpleXMLRPCServer —Basic XML-RPC server . . . . . . . . . . . . . . . . . . . . . . . . . 996 20.25 DocXMLRPCServer —Self-documenting XML-RPC server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1217 28.2 sysconfig —Provide access to Python’s configuration information . . . . . . . . . . . . . . . . . 1229 28.3 __builtin__ —Built-in objects . . . . . . . . . .0 码力 | 1552 页 | 7.42 MB | 9 月前3
Python 标准库参考指南 2.7.18 network servers . . . . . . . . . . . . . . . . . . . . . . . . . 961 20.18 BaseHTTPServer —Basic HTTP server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 969 20.19 SimpleHTTPServer —Simple 988 20.24 SimpleXMLRPCServer —Basic XML-RPC server . . . . . . . . . . . . . . . . . . . . . . . . . 996 20.25 DocXMLRPCServer —Self-documenting XML-RPC server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1217 28.2 sysconfig —Provide access to Python’s configuration information . . . . . . . . . . . . . . . . . 1229 28.3 __builtin__ —Built-in objects . . . . . . . . . .0 码力 | 1552 页 | 7.42 MB | 9 月前3
waitress Documentation v1.4.3waitress Documentation, Release 1.4.3 Waitress is meant to be a production-quality pure-Python WSGI server with very acceptable performance. It has no dependencies except ones which live in the Python standard import serve serve(wsgiapp, listen='*:8080') Press Ctrl-C (or Ctrl-Break on Windows) to exit the server. The following will run waitress on port 8080 on all available IPv4 addresses, but not IPv6. from serve(wsgiapp) If you want to serve your application through a UNIX domain socket (to serve a downstream HTTP server/proxy such as nginx, lighttpd, and so on), call serve with the unix_socket argument: from waitress0 码力 | 103 页 | 259.25 KB | 1 年前3
waitress Documentation v2.1.2waitress Documentation, Release 2.1.2 Waitress is meant to be a production-quality pure-Python WSGI server with very acceptable performance. It has no dependencies except ones which live in the Python standard import serve serve(wsgiapp, listen='*:8080') Press Ctrl-C (or Ctrl-Break on Windows) to exit the server. The following will run waitress on port 8080 on all available IPv4 addresses, but not IPv6. from serve(wsgiapp) If you want to serve your application through a UNIX domain socket (to serve a downstream HTTP server/proxy such as nginx, lighttpd, and so on), call serve with the unix_socket argument: from waitress0 码力 | 115 页 | 272.79 KB | 1 年前3
共 544 条
- 1
- 2
- 3
- 4
- 5
- 6
- 55













