From ea24c3530752373890b9cdfc23b44d76a9817fa9 Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Fri, 16 Feb 2018 17:12:18 +0100 Subject: fix doc --- generated.go | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) (limited to 'generated.go') 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)) } -- cgit v1.2.3