Fixed issue on JoinURL
This commit is contained in:
parent
86d4e80596
commit
3264057679
@ -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()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user