mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
http: fix method_and_url_to_response definition
This commit is contained in:
@ -227,7 +227,7 @@ pub fn (req &Request) do() ?Response {
|
||||
return resp
|
||||
}
|
||||
|
||||
fn (req &Request) method_and_url_to_response(method string, url net_dot_urllib.URL) ?Response {
|
||||
fn (req &Request) method_and_url_to_response(method string, url urllib.URL) ?Response {
|
||||
host_name := url.hostname()
|
||||
scheme := url.scheme
|
||||
p := url.path.trim_left('/')
|
||||
|
Reference in New Issue
Block a user