HTTP Driver
jumpstarter-driver-http provides functionality for HTTP communication.
Installation
:substitutions:
$ pip3 install --extra-index-url {{index_url}} jumpstarter-driver-http
Configuration
Example configuration:
export:
http:
type: jumpstarter_driver_http.driver.HttpServer
config:
root_dir: "/var/www"
host: "0.0.0.0"
port: 8080 # Default port; use 0 for OS-assigned port
timeout: 600
remove_created_on_close: true # Clean up temporary files on close
Config parameters
| Parameter | Description | Type | Required | Default |
|---|---|---|---|---|
| root_dir | Root directory for serving files | str | no | "/var/www" |
| host | IP address to bind the server to | str | no | None (auto-detect) |
| port | Port number to listen on (0 = OS-assigned) | int | no | 8080 |
| timeout | Request timeout in seconds | int | no | 600 |
| remove_created_on_close | Automatically remove created files/directories when driver closes | bool | no | true |
File Management
The internal HTTP server driver automatically tracks files and directories created during the session. When remove_created_on_close is enabled (default), all tracked resources are cleaned up when the driver closes.
API Reference
.. autoclass:: jumpstarter_driver_http.driver.HttpServer()
Release files for jumpstarter-driver-http 0.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jumpstarter_driver_http-0.9.0.tar.gz | 8.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jumpstarter_driver_http-0.9.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.2 kB
Release files / jumpstarter_driver_http-0.9.0.tar.gz
| Download URL | jumpstarter_driver_http-0.9.0.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
69365c01c7923f2d65c3ec2764e7d95f15ea1a9c3276b3d317239623af23b9d6
|
|
BLAKE2b-256 checksum How to use checksums |
9842d82a3e285cc85c7ad18a2746551171d90f93a9e2954734bf9efa493a87d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.22
|
Release files / jumpstarter_driver_http-0.9.0-py3-none-any.whl
| Download URL | jumpstarter_driver_http-0.9.0-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1e35260114a7d4e55576aae6418288e62f7123e04036adfcce7ad23da60b99f8
|
|
BLAKE2b-256 checksum How to use checksums |
fcfbc80a0b90b12f5c08a6989144476cceacd6d94b4e8e6d1a2b595be2b6cf98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.22
|