Bala FA
|
bef0a50bc1
|
Cleanup and fixes (#3273)
* newRequestID() (previously generateUploadID()) returns string than byte array.
* Remove unclear comments and added appropriate comments.
* SHA-256, MD5 Hash functions return Hex/Base64 encoded string than byte array.
* Remove duplicate MD5 hasher functions.
* Rename listObjectsValidateArgs() into validateListObjectsArgs()
* Remove repeated auth check code in all bucket request handlers.
* Remove abbreviated names in bucket-metadata
* Avoid nested if in bucketPolicyMatchStatement()
* Use ioutil.ReadFile() instead of os.Open() and ioutil.ReadAll()
* Set crossDomainXML as constant.
|
2016-11-21 13:51:05 -08:00 |
Harshavardhana
|
5885ffc8ae
|
signature: Add legacy signature v2 support transparently. (#2811)
Add new tests as well.
|
2016-09-30 14:32:13 -07:00 |
Harshavardhana
|
64083b9227
|
signature: Region changes should be handled just like AWS. (#2805)
- PutBucket happens with 'us-east-1'.
- ListBuckets happens with any region.
- GetBucketLocation happens with 'us-east-1' and location is returned.
|
2016-09-29 15:51:00 -07:00 |
Harshavardhana
|
79888bfff7
|
tests: Add auth-handler. (#2721)
Fixes #2658
|
2016-09-16 15:17:49 -07:00 |
Harshavardhana
|
bccf549463
|
server: Move all the top level files into cmd folder. (#2490)
This change brings a change which was done for the 'mc'
package to allow for clean repo and have a cleaner
github drop in experience.
|
2016-08-18 16:23:42 -07:00 |