http: mutable request fields

This commit is contained in:
jm-duro 2020-04-28 13:57:48 +02:00 committed by GitHub
parent 1e4e882bc2
commit 210b6e36b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 1 deletions

View file

@ -12,7 +12,7 @@ const (
)
pub struct Request {
pub:
pub mut:
method string
headers map[string]string
cookies map[string]string