1
0
mirror of https://github.com/minio/minio.git synced 2025-03-31 09:43:43 -04:00

109 Commits

Author SHA1 Message Date
Harshavardhana
62f8343879 Add constants for commonly used values. ()
This is a consolidation effort, avoiding usage
of naked strings in codebase. Whenever possible
use constants which can be repurposed elsewhere.

This also fixes `goconst ./...` reported issues.
2017-01-18 12:24:34 -08:00
Harshavardhana
69559aa101 objAPI: Implement CopyObject API. ()
This is written so that to simplify our handler code
and provide a way to only update metadata instead of
the data when source and destination in CopyObject
request are same.

Fixes 
2016-12-26 16:29:26 -08:00
Anis Elleuch
ef3319a49d Fix: Typo in non canonicalized header extraction ()
Extracting metadata from headers was doing wrong when Headers are not well canonicalized, fixing typo.
2016-12-20 11:59:08 -08:00
Anis Elleuch
5404dddcea PostForm: Save supported headers in obj metadata ()
Supported Headers like Content-Type, Cache-Control, Content-Encoding, X-Amz-* , etc.. are now saved in object metadata
2016-12-19 16:14:04 -08:00
Krishna Srinivas
35e541e0b1 content-length-range policy should be honored for the uploaded object sizes. () 2016-10-24 23:47:03 -07:00
Krishna Srinivas
5999a23d3e When object whose size is greater than 5G is uploaded using presigned POST we should return error. ()
fixes 
2016-10-22 09:05:01 -07:00
Harshavardhana
6494b77d41 server: Add more elaborate startup messages. ()
These messages based on our prep stage during XL
and prints more informative message regarding
drive information.

This change also does a much needed refactoring.
2016-10-05 12:48:07 -07:00
Harshavardhana
64083b9227 signature: Region changes should be handled just like AWS. ()
- 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
bccf549463 server: Move all the top level files into cmd folder. ()
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