fix: vision(#623): end-to-end subpath routing smoke test for Forgejo + Woodpecker + chat (#1025) #1063

Merged
dev-qwen2 merged 8 commits from fix/issue-1025-3 into main 2026-04-20 11:01:13 +00:00
Showing only changes of commit 1a1ae0b629 - Show all commits

View file

@ -115,21 +115,21 @@ http_request() {
# Make a GET request and return status code # Make a GET request and return status code
http_get() { http_get() {
local url="$1" local url="$1"
shift shift || true
http_request "GET" "$url" "$@" http_request "GET" "$url" "$@"
} }
# Make a HEAD request (no body) # Make a HEAD request (no body)
http_head() { http_head() {
local url="$1" local url="$1"
shift shift || true
http_request "HEAD" "$url" "$@" http_request "HEAD" "$url" "$@"
} }
# Make a GET request and return the response body # Make a GET request and return the response body
http_get_body() { http_get_body() {
local url="$1" local url="$1"
shift shift || true
curl -sS --max-time "$EDGE_TIMEOUT" "$@" "$url" curl -sS --max-time "$EDGE_TIMEOUT" "$@" "$url"
} }