Harshavardhana
92e4301414
Add proper content-length for error and success responses
...
- All compliance issues with S3 API for Put,Get,List (Bucket,Object) respectively
- Encodes and returns back proper HTTP headers
10 years ago
Harshavardhana
d1d5f7a78d
Collate success response into writeSuccessResponse(), add docs
10 years ago
Harshavardhana
b18bb230da
maxObjectSize and minObjectSize limitation added at putObjectHandler()
...
Put() replies back with
- EntityTooLarge with > 5GB in single PUT operation
- EntityTooSmall with < 1B in single PUT operation
- IncompleteBody with ho Content-Length found in HTTP request header
10 years ago
Harshavardhana
ade803a923
Verify if request date is 5minutes late, reject such a request as
...
it could be a possible replay attack.
This commit also fixes #505 , by returning MethodNotAllowed instead of NotImplemented
10 years ago
Harshavardhana
8beca83090
Limit memory mode at 100 buckets and return error appropriately
...
~~~
mc: <ERROR> Failed to create bucket for URL [http://localhost:9000/newbucket-101 ]. Reason: [You have attempted to create more buckets than allowed.].
~~~
Response from server
10 years ago
Frederick F. Kautz IV
202fc26719
Revert "Exporting WriteErrorResponse"
...
This reverts commit e05d46a0b5
.
10 years ago
Frederick F. Kautz IV
e05d46a0b5
Exporting WriteErrorResponse
10 years ago
Harshavardhana
c5d8ca245d
Memory now handles submitting large files - fixes #482
10 years ago
Harshavardhana
e95604ff86
Finishing all the test case support for ACL and other fixes
10 years ago
Harshavardhana
848c4ee31c
Further fixes for ACL support, currently code is disabled in all the handlers
...
Disabled because due to lack of testing support. Once we get that in we can
uncomment them back.
10 years ago
Harshavardhana
107e077ec0
Implement x-amz-acl handling
10 years ago
Harshavardhana
b121c8588f
Remove bucketpolicy handlers and all its references
10 years ago
Harshavardhana
38155e86ac
iodine is part of minio now
10 years ago
Frederick F. Kautz IV
6241c9880b
Moving object storage drivers back to minio
10 years ago
Frederick F. Kautz IV
ea961ef16d
Updating to use objectdriver
10 years ago
Frederick F. Kautz IV
e6abca1a63
Adding iodine to object HEAD verb
10 years ago
Frederick F. Kautz IV
9954e5c280
Better error handling + tests for get object
10 years ago
Harshavardhana
85e547d854
Parse response headers in tests
10 years ago
Harshavardhana
a56098b8c9
Make sure in API we handle all error type exclusively, and return certain values exclusively
10 years ago
Frederick F. Kautz IV
959d90fcf7
Adding test for partial objects
10 years ago
Frederick F. Kautz IV
62c4c997c2
Simplifying error handling in api bucket handlers
10 years ago
Frederick F. Kautz IV
7d657eb55c
Simplifying error response writing for object handlers
10 years ago
Frederick F. Kautz IV
c3cda5d9a8
Adding comments to errors
10 years ago
Frederick F. Kautz IV
8cbc1c2346
More api cleanup
10 years ago
Frederick F. Kautz IV
452f0f8335
Cleaning up more api code
10 years ago
Frederick F. Kautz IV
d644233054
Rename writeObjectHeaders to setObjectHeaders, fix writing multiple headers bug
10 years ago
Frederick F. Kautz IV
d5db891094
Simplfying code in api, round 1. Decoupling functions which both write headers and data.
10 years ago
Frederick F. Kautz IV
b165efdfcb
Refactoring pkg/utils/log, copying from golang's log and modifying
10 years ago
Frederick F. Kautz IV
96e26335e2
Adding tests and a fix for get object where bucket is not found
10 years ago
Harshavardhana
0474439b43
Code restructuring, assigning proper subsystems to each
...
- Drivers contain
* donut/*
* file/*
* memory/*
- Storage format contains
* donut/*
- GetObject() --> renamed to GetObjectReader()
- Deleted stale objectwriter.go, renamed donutwriter.go to object_writer.go
Simplifying, and documenting codebase further
10 years ago
Harshavardhana
914962bd93
Implement log package as drop-in replacement for handling Debug log-level
10 years ago
Harshavardhana
2b0b5f014a
Update license header Mini should be Minimalist really
10 years ago
Harshavardhana
a1baed3bbc
Refactor to move config handling into api/
10 years ago
Harshavardhana
7ce3ab3193
Restructure minio api, move signature checks from utils to Api.
10 years ago
Harshavardhana
74b3d092f2
Now MinioAPI handles Content-MD5 set during putObject()
...
- This change also facilitates proper error response
in case of md5 mismatch or corruption
- TODO a test function needs to be implemented
10 years ago
Harshavardhana
67888cbaa9
Restructure and use human readable names
10 years ago
Harshavardhana
a42a48a455
Get object range request added
10 years ago
Harshavardhana
f8e2b75e23
Get object metadata needs to filter based of Prefix when delimiter is specified
10 years ago
Harshavardhana
540723d7ae
Golint cleanup pkg/api
10 years ago
Harshavardhana
53669a0854
Implement delimiter, path prefix
10 years ago
Harshavardhana
b7868d23ac
Update minioapi documentation
10 years ago
Harshavardhana
51e80eaa6d
Add domain and subdomain support for MinioAPI
...
This change brings in domain and subdomain support
- ./minio --domain "yourminiodomain.com"
This change brings in a much needed feature by keeping
bucketnames as part of your 'DNS' name.
All your existing applications can be migrated off from s3 to
Minio without little to no modifications.
NOTE: Setting up DNS for your `buckets` is out of scope of this feature
10 years ago
Harshavardhana
f7a06a5d1e
Some more cleanup
10 years ago
Harshavardhana
eeae64935e
Implement bucket policy handler and with galore of cleanup
10 years ago