A basic web server that can render HTML or plain text.
Project description
Overview
Welcome! Thank you for exploring this repository. Please note that it's currently undergoing active development, so bugs may be present.
Current Issues
- CTRL + C doesn't terminate the program (On Windows hosts).
- An occasional random line is added to text-based responses.
- Errors resembling
utf-8' codec can't decode byteare printed to the terminal.
What's New in Version 0.4?
Version 0.4 introduces several noteworthy improvements:
- Enhanced HTTP method support, including POST requests.
- Improved routing and request handling for various HTTP methods.
- Advanced error management with customizable error handlers.
- Basic support for rendering HTML and plaintext with associated status codes.
- Streamlined user interface and error reporting.
- Bug fixes and performance optimizations.
Future Development Plans
Looking ahead, here are some features and enhancements in the pipeline:
- Further expansion of functionality within each component to offer users greater flexibility.
- Implementation of a custom error handler allowing users to personalize error responses, such as 404 and 403.
- Consideration of authentication mechanisms for enhanced security.
Your contributions and feedback are always welcome as we strive to enhance this project together.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
basic_web_server-0.4.tar.gz
(4.9 kB
view details)
File details
Details for the file basic_web_server-0.4.tar.gz.
File metadata
- Download URL: basic_web_server-0.4.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a9d18a2374b357301594323559511a20d28cf4226c9e18a4cbb71db9333e927
|
|
| MD5 |
87a1df3fdd1ec36643107448f04b3284
|
|
| BLAKE2b-256 |
62c59d53f8ac56f5cbf71519bf02c2dada2ad49a5bddaf3322e9c74d0fc644d0
|