wiretap v0.2.6
wiretap v0.2.6
This release adds a first-class HTTP Request Composer to the desktop GUI. You
can author requests from scratch, import JSON, continue from captured traffic
or webhooks, apply replay transforms, and inspect the endpoint response without
leaving Wiretap.
Highlights
Compose arbitrary HTTP requests
The new Compose workspace provides:
- HTTP method and absolute destination URL;
- editable multi-value headers;
- plain-text or JSON request bodies;
- optional execution of enabled
on_replaytransforms; - response status, headers, body, size, duration, and truncation state.
Requests accept absolute http:// and https:// URLs, use a 30-second timeout,
and follow the same direct local transport behavior as webhook replay.
Import JSON
Use Import JSON to load a normal JSON document as a POST body with
Content-Type: application/json. JSON can also be pasted directly into the
body editor.
For complete request definitions, import a request envelope:
{
"method": "POST",
"url": "http://127.0.0.1:8080/webhook",
"headers": {
"Content-Type": ["application/json"],
"X-Test-Event": ["order.created"]
},
"body": {
"order_id": "test-123"
},
"apply_transforms": true
}Header values may be strings or arrays. Non-string envelope bodies are
JSON-encoded and formatted automatically.
Continue from real traffic
Webhook and traffic detail panes now include Open in composer. Wiretap
copies the method, headers, body, and available destination into an editable
draft. Captured traffic loads the complete request body on demand instead of
silently using its bounded preview.
Safe response inspection
Composed responses are capped to a 2 MiB preview before crossing the desktop
GUI bridge. Responses with a declared Content-Length retain their exact total
size; chunked oversized responses are reported as truncated with the observed
lower bound. Copy and download actions operate honestly on the preview when no
larger body is available.
Composed requests and responses are intentionally ephemeral and are not added
to the traffic-capture database automatically.
Documentation
The Request Composer guide
covers request creation, JSON envelope fields, transforms, captured-data
handoff, response behavior, and limits. The README and changelog include the
new workflow as well.
Quality
The release adds application and GUI-binding integration tests for request
construction, headers, response serialization, URL validation, timing, and
large-response bounds. The full Go test suite, standard build, frontend syntax
checks, generated Wails bindings, and GUI-tagged build pass.
Full changelog: v0.2.5...v0.2.6