mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
This commit is contained in:
parent
5719344653
commit
8b962f8446
111 changed files with 288 additions and 223 deletions
|
@ -324,7 +324,7 @@ pub struct URL {
|
|||
pub mut:
|
||||
scheme string
|
||||
opaque string // encoded opaque data
|
||||
user &Userinfo // username and password information
|
||||
user &Userinfo = unsafe { nil } // username and password information
|
||||
host string // host or host:port
|
||||
path string // path (relative paths may omit leading slash)
|
||||
raw_path string // encoded path hint (see escaped_path method)
|
||||
|
@ -529,7 +529,7 @@ fn parse_url(rawurl string, via_request bool) ?URL {
|
|||
}
|
||||
|
||||
struct ParseAuthorityRes {
|
||||
user &Userinfo
|
||||
user &Userinfo = unsafe { nil }
|
||||
host string
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue