diff options
| author | Stefan Majewsky <majewsky@gmx.net> | 2018-02-16 17:12:18 +0100 |
|---|---|---|
| committer | Stefan Majewsky <majewsky@gmx.net> | 2018-02-16 17:12:18 +0100 |
| commit | ea24c3530752373890b9cdfc23b44d76a9817fa9 (patch) | |
| tree | 736d865b224f94ebcd37dd47dda71b949b8e56c0 /generated.go | |
| parent | 6be5f143bf7abd39129145d310980c8ab3c47203 (diff) | |
| download | go-schwift-ea24c3530752373890b9cdfc23b44d76a9817fa9.tar.gz | |
fix doc
Diffstat (limited to 'generated.go')
| -rw-r--r-- | generated.go | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/generated.go b/generated.go index a50c418..2c109c1 100644 --- a/generated.go +++ b/generated.go @@ -24,13 +24,9 @@ func (h AccountHeaders) Clear(key string) { h[textproto.CanonicalMIMEHeaderKey(key)] = "" } -//Del deletes a key from the Headers instance. When the Headers instance -//is then sent to the server with Update(), Del() has different effects -//depending on context because of Swift's inconsistent API: -// -//For most writable attributes, a key which has been deleted with Del() will -//remain unchanged on the server. To remove the key on the server, use Clear() -//instead. +//Del deletes a key from the Headers instance. When the Headers instance is +//then sent to the server with Update(), a key which has been deleted with +//Del() will remain unchanged on the server. func (h AccountHeaders) Del(key string) { delete(h, textproto.CanonicalMIMEHeaderKey(key)) } @@ -133,13 +129,9 @@ func (h ContainerHeaders) Clear(key string) { h[textproto.CanonicalMIMEHeaderKey(key)] = "" } -//Del deletes a key from the Headers instance. When the Headers instance -//is then sent to the server with Update(), Del() has different effects -//depending on context because of Swift's inconsistent API: -// -//For most writable attributes, a key which has been deleted with Del() will -//remain unchanged on the server. To remove the key on the server, use Clear() -//instead. +//Del deletes a key from the Headers instance. When the Headers instance is +//then sent to the server with Update(), a key which has been deleted with +//Del() will remain unchanged on the server. func (h ContainerHeaders) Del(key string) { delete(h, textproto.CanonicalMIMEHeaderKey(key)) } |
