func (b *Bucket) PutWriter(path string, h http.Header, c *Config) (w io.WriteCloser, err error) {
	if c == nil {
		c = b.conf()
	}
	u, err := b.url(path, c)
	if err != nil {
		return nil, err
	}

	return newPutter(*u, h, c, b)
}
func (b *Bucket) PutWriter(path string, h http.Header, c *Config) (w io.WriteCloser, err error) {
	if c == nil {
		c = b.conf()
	}
	u, err := b.url(path, c)
	if err != nil {
		return nil, err
	}

	return newPutter(*u, h, c, b)
}
func ( b * Bucket ) PutWriter ( path string , h http . Header , c * Config ) ( w io . WriteCloser , err error ) { if c == nil { c = b . conf ( ) } u , err := b . url ( path , c ) if err != nil { return nil , err } return newPutter ( * u , h , c , b ) }
// PutWriter provides a writer to upload data as multipart upload requests.
//
// Each header in h is added to the HTTP request header. This is useful for specifying
// options such as server-side encryption in metadata as well as custom user metadata.
// DefaultConfig is used if c is nil.
// Callers should call Close on w to ensure that all resources are released.
PutWriter provides a writer to upload data as multipart upload requests . Each header in h is added to the HTTP request header . This is useful for specifying options such as server - side encryption in metadata as well as custom user metadata . DefaultConfig is used if c is nil . Callers should call Close on w to ensure that all resources are released .