Metadata-Version: 2.4
Name: hegemony-steps-http
Version: 0.59.1
Summary: HTTP(S) request step handler for Hegemony (http.request)
License-Expression: AGPL-3.0-or-later
License-File: LICENSE-AGPL-3.0-or-later.txt
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: System Administrators
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: System :: Systems Administration
Requires-Dist: hegemony-step-sdk>=1.1,<2
Requires-Dist: httpx>=0.27.0
Requires-Python: >=3.11
Project-URL: Homepage, https://hegemony.sh
Project-URL: Documentation, https://hegemony.sh
Project-URL: Source, https://github.com/hegemony-sh/hegemony-step-plugins
Project-URL: Issues, https://github.com/hegemony-sh/hegemony-step-plugins/issues
Project-URL: Changelog, https://github.com/hegemony-sh/hegemony-step-plugins/blob/main/CHANGELOG.md
Description-Content-Type: text/markdown

<!--
SPDX-FileCopyrightText: 2025-2026 Rexonix s.r.o.
SPDX-FileContributor: Jakub Trávník <jakub.travnik@gmail.com>

SPDX-License-Identifier: AGPL-3.0-or-later
-->

# hegemony-steps-http

Outbound HTTP(S) requests from the worker: one request with any method,
headers, JSON or text body and authentication (bearer, basic, or a custom
header, with the secret taken from a secret reference), optionally following
redirects and next-page links, returned as structured output that later
steps read.

Handlers: `http.request`.

Every request, redirect hops and next pages included, passes the flow's
egress policy, and loopback, link-local (cloud instance metadata included),
unspecified and multicast destinations are refused. The wheel is its own so
that a deployment can leave out arbitrary outbound requests from workers
entirely: without it, flows have no `http.request` step. The handler's page
(`src/hegemony_steps_http/docs/http.request.md`) documents its fields,
output and security rules. Other wheels that speak HTTP send through the same
client (`HttpRequestHandler.send`), so these rules apply to them too:
`hegemony-steps-netbox` does.

Namespace prefix (= entry-point name): `http.` — see the repo-level
`CONVENTIONS.md` for the naming rules.
