check / check (push) Successful in 6m32s
The receiver keeps the query string of the request it received on the event, in a new `raw_query` column of the per-webhook `events` table; a resubmitted copy carries its original's. The event log and the event's page show it with the request, the event log leaving out one over 32 KiB as it does request headers. The archive and log targets carry it. An HTTP target gets a `forwardQuery` setting, off by default, on both target forms and in the target list: on, each delivery, replays and resubmits included, appends the query string to the target URL, joined with `&` to one it already has. Model: opus-5-5
31 lines
1.6 KiB
HTML
31 lines
1.6 KiB
HTML
{{define "event_request"}}
|
|
<!-- The entrypoint an event arrived at, its query string and its
|
|
request headers, as handlers.EventLogView carries them: the same in
|
|
the event log and the event's own page. The entrypoint's URL is
|
|
never shown. A resubmitted copy, even a copy of a copy, did not
|
|
arrive at an entrypoint; the request it copies did. -->
|
|
<div class="space-y-2 text-xs">
|
|
{{if .ResubmittedFrom}}
|
|
<p class="text-gray-500">The request it copies arrived at <span class="text-gray-900 wrap-anywhere">{{.Entrypoint}}</span></p>
|
|
{{else}}
|
|
<p class="text-gray-500">Arrived at <span class="text-gray-900 wrap-anywhere">{{.Entrypoint}}</span></p>
|
|
{{end}}
|
|
{{if .RawQueryCut}}
|
|
<p class="text-gray-500">The query string is larger than the event log shows. <a href="{{.Body.EventURL}}" class="btn-small">Show the query string</a></p>
|
|
{{else if .RawQuery}}
|
|
<p class="text-gray-500">Query string</p>
|
|
<pre class="rounded-md border border-gray-200 bg-white p-2 text-xs text-gray-700 overflow-x-auto whitespace-pre-wrap break-all">{{.RawQuery}}</pre>
|
|
{{else}}
|
|
<p class="text-gray-500">No query string.</p>
|
|
{{end}}
|
|
{{if .HeadersCut}}
|
|
<p class="text-gray-500">The request headers are larger than the event log shows. <a href="{{.Body.EventURL}}" class="btn-small">Show the request headers</a></p>
|
|
{{else if .Headers}}
|
|
<p class="text-gray-500">Request headers</p>
|
|
<pre class="rounded-md border border-gray-200 bg-white p-2 text-xs text-gray-700 overflow-x-auto whitespace-pre-wrap break-all">{{.Headers}}</pre>
|
|
{{else}}
|
|
<p class="text-gray-500">No request headers.</p>
|
|
{{end}}
|
|
</div>
|
|
{{end}}
|