Django-http3

Latest version: v0.1.0

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

Scan your dependencies

0.1.0

Django HTTP/3 Package v0.1.0 Release Notes

We're excited to announce the initial release of the Django HTTP/3 package! This version introduces automatic HTTP/3 support for Django projects, aiming to simplify the process of adding HTTP/3 capabilities to your Django applications.

Features

- **Automatic HTTP/3 Server**: Includes a custom HTTP/3 server implementation using the aioquic library.
- **Easy Integration**: Simple to add to existing Django projects with minimal configuration.
- **Custom Management Command**: Introduces `python manage.py runhttp3` for easy server startup with HTTP/3 support.
- **Middleware Support**: Includes middleware to add necessary HTTP/3 headers to responses.
- **Automatic SSL Certificate Generation**: Generates self-signed SSL certificates for development environments if none are provided.
- **ASGI Support**: Provides utilities to configure Django's ASGI application for HTTP/3.
- **Configurable Settings**: Allows customization of HTTP/3 host and port through Django settings.

What's Included

1. HTTP/3 server implementation
2. Django middleware for HTTP/3 headers
3. Custom management command for running the HTTP/3 server
4. Utility functions for SSL certificate handling and ASGI configuration
5. Django app configuration for easy integration

Installation

The package can be installed via pip:


pip install django-http3


Usage

After installation, add 'django_http3' to INSTALLED_APPS, include the middleware, update your ASGI application, and use the `runhttp3` management command to start your server with HTTP/3 support.

Notes

- This is an initial release and is recommended for testing and development environments.
- HTTP/3 is a relatively new protocol, and browser support may vary.
- For production use, please ensure you use proper SSL certificates.

Feedback and Contributions

We welcome feedback, bug reports, and contributions. Please submit issues and pull requests on our GitHub repository.

Thank you for trying out Django HTTP/3! We look forward to your feedback and hope this package enhances your Django projects with improved performance and reduced latency for compatible clients.

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.