Fooster-web

Latest version: v0.4.0rc1

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.1

First stable release of web.py

This version does not represent a stable API, but it works and is pretty solid.

Features
- full support for the HTTP/1.1 protocol including persistent connections and pipelining
- built-in HTTP error handling and size bounds
- TLS encryption support
- worker threads that queue and process each connection allowing many simultaneous connections with built-in blocking for non-atomic access to a resource
- easy creation of a RESTful resource by the implementation of HTTP methods
- OPTIONS and HEAD are automatically handled for resources
- handling of 100-continue requests that check with the resource for continue
- automatically get the request body for certain resources
- ability to raise an HTTPError anywhere in a request and a guarantee that it will be handled properly
- ability to create custom error handlers such as for 404 or 500 pages

Extras
- file, an addon allowing for quick hosting of files with simple, extensible directory indexing and an optional modification interface for files
- fancyindex, an addon with rich and styleable directory indexing based on file addon
- auth, an authentication mixin with support for basic and key authorization schemes
- json, a JSON mixin that automatically loads a JSON request body and dumps a JSON response

0.1rc3

Fixes
- More consistent HTTPHandler.method value and HTTPHandler.methods implementation

0.1rc2

Features
- Setting 'Content-Type' header in fancyindex

Fixes
- Fix UTF-8 problems in fancyindex

0.1rc1

Features
- Add -p/--port option to file and fancyindex when run directly

Fixes
- Add 'Allow' header on 405 error
- Send 413 error before sending 100 when clients expects 100-continue with a request too large

0.1rc

Features
- Full unit and integration testing coverage
- Dynamic scaling can now be turned off and have no cap

Fixes
- Disable keepalive if an error stops the request before it is finished being read
- Make README example better
- Add status_messages import to the base package
- HTTPServer.is_running now returns a bool
- Make sure manager and serve_forever clean up if they fail
- Worker death warning now doesn't throw an exception
- Force the Content-Length header for bytes

0.1beta4

Features
- New fancyindex addon that extends the file addon to add fancy, styleable directory indexing
- Worker threads restart if dead
- Worker threads dynamically scale with load

Fixes
- Addons now have a new method that returns a route to the newly created handler
- Call handler init in web.file if different from FileHandler
- Check header key is a str
- Write bytes for 100-continue requests
- Headers set in an error handler no longer become permanent across errors
- Error handler now has request, response, and groups
- First handler found is matched rather than the last
- Security error in the file addon that allowed one to peek outside of the root directory
- Threads can no longer be locked by keep-alive attempts
- Eliminated race conditions between resources and between the log

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.