Fixed issue on JoinURL
This commit is contained in:
1 parent
86d4e80596
commit
3264057679
1 file changed
+1
-1
+1
-1
@@ -28,7 +28,7 @@ func (r *Response) JoinURL(relativeURL string) string {
|
|||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
joinedURL := r.Response.Request.URL.ResolveReference(parsedRelativeURL)
|
joinedURL := r.Request.URL.ResolveReference(parsedRelativeURL)
|
||||||
return joinedURL.String()
|
return joinedURL.String()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user