mirror of
https://github.com/vlang/v.git
synced 2025-09-14 06:52:36 +03:00
vlib: update doc comments (#19231)
This commit is contained in:
parent
78c34326f1
commit
f755118e7c
13 changed files with 22 additions and 20 deletions
|
@ -105,7 +105,7 @@ pub fn read_cookies(h map[string][]string, filter string) []&Cookie {
|
|||
return cookies
|
||||
}
|
||||
|
||||
// Returns the serialization of the cookie for use in a Cookie header
|
||||
// str returns the serialization of the cookie for use in a Cookie header
|
||||
// (if only Name and Value are set) or a Set-Cookie response
|
||||
// header (if other fields are set).
|
||||
//
|
||||
|
|
|
@ -444,7 +444,7 @@ pub fn parse_multipart_form(body string, boundary string) (map[string]string, ma
|
|||
return form, files
|
||||
}
|
||||
|
||||
// parse_disposition parses the Content-Disposition header of a multipart form
|
||||
// parse_disposition parses the Content-Disposition header of a multipart form.
|
||||
// Returns a map of the key="value" pairs
|
||||
// Example: assert parse_disposition('Content-Disposition: form-data; name="a"; filename="b"') == {'name': 'a', 'filename': 'b'}
|
||||
fn parse_disposition(line string) map[string]string {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue