waitress Documentation v3.0.1
race condition that existed when creating a new HTTPChannel. See https://github.com/Pylons/waitress/pull/435 and https://github.com/Pylons/waitress/issues/418 With thanks to Dylan Jay and Dieter Maurer the header values before passing them to the WSGI environ. See https://github.com/Pylons/waitress/pull/434 and https://github.com/Pylons/waitress/issues/432 3.0.0 (2024-02-04) Rename "master" git branch https://github.com/Pylons/waitress/pull/399 Fixed testing of vendored asyncore code to not rely on particular naming for errno's. See https://github.com/Pylons/waitress/pull/397 HTTP Request methods and versions are0 码力 | 55 页 | 56.36 KB | 1 年前3
waitress Documentation v3.0.1requests do not take longer than 30 seconds or Heroku will inform the client that the request failed even though the request is still being processed by Waitress and occupying a thread until it completes. its log messages to the parent logger (the root logger), sending its output to the console when we request a page: 00:50:53,694 INFO [wsgiapp] Returning: Hello World! (content-type: text/plain) 00:50:53 value to be that value, minus any trailing slashes you add, and it will cause the PATH_INFO of any request which is prefixed with this value to be stripped of the prefix. This is useful in proxying scenarios0 码力 | 119 页 | 339.46 KB | 1 年前3
waitress Documentation v2.1.2requests do not take longer than 30 seconds or Heroku will inform the client that the request failed even though the request is still being processed by Waitress and occupying a thread until it completes. its log messages to the parent logger (the root logger), sending its output to the console when we request a page: 00:50:53,694 INFO [wsgiapp] Returning: Hello World! (content-type: text/plain) 00:50:53 value to be that value, minus any trailing slashes you add, and it will cause the PATH_INFO of any request which is prefixed with this value to be stripped of the prefix. This is useful in proxying scenarios0 码力 | 115 页 | 272.79 KB | 1 年前3
waitress Documentation v2.1.1if they contain invalid data we no longer continue in and return a 400 Bad Request. This stops potential HTTP desync/HTTP request smuggling. Thanks to Zhang Zeyu for reporting this issue. See https://github and values such as 0x01 and +01 are no longer supported. This stops potential HTTP desync/HTTP request smuggling. Thanks to Zhang Zeyu for reporting this issue. See https://github.com/Pylons/waitress return a 400 Bad Request when the Content-Length header contains invalid data, such as +10 which would previously get parsed as 10 and accepted. This stops potential HTTP desync/HTTP request smuggling Thanks0 码力 | 53 页 | 58.27 KB | 1 年前3
waitress Documentation v2.1.1requests do not take longer than 30 seconds or Heroku will inform the client that the request failed even though the request is still being processed by Waitress and occupying a thread until it completes. its log messages to the parent logger (the root logger), sending its output to the console when we request a page: 00:50:53,694 INFO [wsgiapp] Returning: Hello World! (content-type: text/plain) 00:50:53 value to be that value, minus any trailing slashes you add, and it will cause the PATH_INFO of any request which is prefixed with this value to be stripped of the prefix. This is useful in proxying scenarios0 码力 | 113 页 | 270.88 KB | 1 年前3
waitress Documentation v2.1.0example See https://github.com/Pylons/waitress/issues/359 and https://github.com/Pylons/waitress/pull/363 In Python 3 OSError is no longer subscriptable, this caused failures on Windows attempting to to find an socket that would work for use in the trigger. See https://github.com/Pylons/waitress/pull/361 Fixed an issue whereby BytesIO objects were not properly closed, and thereby would not get cleaned This led to potential for random memory spikes/memory issues, see https://github.com/Pylons/waitress/pull/358 and https://github.com/Pylons/waitress/issues/357 . With thanks to Florian Schulze for testing/vaidating0 码力 | 52 页 | 57.95 KB | 1 年前3
Django CMS 3.11.10 Documentation): name = _("Polls Menu") # give the menu a name this is required. def get_nodes(self, request): """ This method is used to build the menu tree. """ nodes = [] enable this use the cms.middleware.language.LanguageCookieMiddleware to set the cookie on every request. How django CMS determines what language to serve Once it has identified a user’s language, it will apply_modifiers() menus.menu_pool.MenuPool._mark_selected() loops over each node, comparing its URL with the request.path_info, and marks the best match as selected loops over the Modifiers (see Menu Modifiers below)0 码力 | 493 页 | 1.44 MB | 6 月前0.03
django cms 4.1.1 Documentation
PollsMenu(CMSAttachMenu): name = _("Polls Menu") # give the menu a name this is required. def get_nodes(self, request): """ This method is used to build the menu tree. """ (continues on next page) 5.2. Django/Python enable this use the cms.middleware.language.LanguageCookieMiddleware to set the cookie on every request. How django CMS determines what language to serve Once it has identified a user’s language, it – menus.menu_pool.MenuPool._mark_selected() – loops over each node, comparing its URL with the request.path_info, and marks the best match as selected 5.2. Django/Python compatibility table 57 django0 码力 | 361 页 | 2.00 MB | 1 年前3
Flask Documentation (1.1.x)to do if the Server does not Start Debug Mode Routing Static Files Rendering Templates Accessing Request Data Redirects and Errors About Responses Sessions Message Flashing Logging Hooking in WSGI Middleware Run Manually Working with Debuggers Logging Basic Configuration Email Errors to Admins Injecting Request Information Other Libraries Configuration Handling Configuration Basics Environment and Debug Features Instance Folders Signals Subscribing to Signals Creating Signals Sending Signals Signals and Flask’s Request Context Decorator Based Signal Subscriptions Core Signals Pluggable Views Basic Principle Method0 码力 | 428 页 | 895.98 KB | 1 年前3
Django CMS 4.1.x Documentation): name = _("Polls Menu") # give the menu a name this is required. def get_nodes(self, request): """ This method is used to build the menu tree. """ nodes = [] enable this use the cms.middleware.language.LanguageCookieMiddleware to set the cookie on every request. How django CMS determines what language to serve Once it has identified a user’s language, it will apply_modifiers() menus.menu_pool.MenuPool._mark_selected() loops over each node, comparing its URL with the request.path_info, and marks the best match as selected loops over the Modifiers (see Menu Modifiers below)0 码力 | 518 页 | 1.66 MB | 6 月前3
共 525 条
- 1
- 2
- 3
- 4
- 5
- 6
- 53













