|
Repo Added
|
Files
19
|
Badge
README BADGES
|
push
test: Update ServeMux directory redirects from status 301 to 307 In Go 1.26, the http.ServeMux behaviour was changed on some redirects (e.g. /dir -> /dir/) to return 307 Temporary Redirect (instead of the previous 301 Moved Permanently). This happened in Go commit 831af6112 (2025-11-15, "net/http: use HTTP 307 redirects in ServeMux"). So this patch updates the tests accordingly.
2222 of 2256 relevant lines covered (98.49%)
566.4 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|