93
93
func (b *S3Bucket) Put(path string, data []byte, contType string, perm S3ACL) os.Error {
94
94
headers := map[string]string{
95
95
"Content-Length": strconv.Itoa(len(data)),
99
99
body := strings.NewReader(string(data))
100
100
_, err := b.S3.query("PUT", b.Name, path, nil, headers, body, nil)