Skip to content

Commit 1a3325a

Browse files
committed
format
1 parent a6f8af2 commit 1a3325a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/util/url.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import (
1818
// Examples:
1919
// - ResolveURLPath("http://localhost:12434/api/", "/v1/models") -> "http://localhost:12434/api/v1/models"
2020
// - ResolveURLPath("http://localhost:12434/api/", "http://other:9000/models") -> "http://other:9000/models"
21+
//
2122
// ResolveURLPath resolves a path or absolute URL against a base URL.
2223
// This function exists because url.ResolveReference() follows RFC 3986 strictly,
2324
// treating paths with leading "/" as absolute references that replace the entire base path.

0 commit comments

Comments
 (0)