diff options
| author | Stefan Majewsky <majewsky@gmx.net> | 2026-07-21 14:23:40 +0200 |
|---|---|---|
| committer | Stefan Majewsky <majewsky@gmx.net> | 2026-07-21 14:23:40 +0200 |
| commit | 044e297413066262c54beb33e98d0e498178897b (patch) | |
| tree | 8fa631ebe958f0a480bbe9445ac83c13b36f1d97 /request.go | |
| parent | dc7bd11d855f0b3266612a18606801f4e09ecc09 (diff) | |
| download | go-schwift-044e297413066262c54beb33e98d0e498178897b.tar.gz | |
use http.MethodFoo constants where possible
Diffstat (limited to 'request.go')
| -rw-r--r-- | request.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -59,7 +59,7 @@ func cloneRequestOptions(orig *RequestOptions, additional Headers) *RequestOptio // Request contains the parameters that can be set in a request to the Swift API. type Request struct { - Method string // "GET", "HEAD", "PUT", "POST" or "DELETE" + Method string // e.g. http.MethodGet, or a string literal like "COPY" ContainerName string // empty for requests on accounts ObjectName string // empty for requests on accounts/containers Options *RequestOptions |
