diff options
author | Wolfy-J <[email protected]> | 2018-06-15 15:54:14 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-15 15:54:14 +0300 |
commit | dfef39c64132192d13e2315364a74f1b0244791e (patch) | |
tree | b0959bbbb1ca5a16d94646454d7f2e9340081915 /service/http/request.go | |
parent | ccd297dbe2586b3fd29854f72f795be9e818522e (diff) |
readme, samples, golint, build scripts
Diffstat (limited to 'service/http/request.go')
-rw-r--r-- | service/http/request.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/service/http/request.go b/service/http/request.go index 2e8ae090..3082eeb5 100644 --- a/service/http/request.go +++ b/service/http/request.go @@ -26,8 +26,8 @@ type Request struct { // Method contains name of HTTP method used for the request. Method string `json:"method"` - // Uri contains full request Uri with scheme and query. - Uri string `json:"uri"` + // URI contains full request URI with scheme and query. + URI string `json:"uri"` // Headers contains list of request headers. Headers http.Header `json:"headers"` @@ -53,7 +53,7 @@ func NewRequest(r *http.Request, cfg *UploadsConfig) (req *Request, err error) { req = &Request{ Protocol: r.Proto, Method: r.Method, - Uri: uri(r), + URI: uri(r), Headers: r.Header, Cookies: make(map[string]string), RawQuery: r.URL.RawQuery, |