| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | revamp the Headers API | Stefan Majewsky | 2018-03-11 | 1 | -31/+24 |
| | | | | | | | | | | | | | | | | | | | 1. Move common methods of AccountHeaders, ContainerHeaders, ObjectHeaders into a base type Headers. 2. Fold Headers into RequestOptions to remove one of the two optional arguments on request methods. The new Headers.ToOpts() method offers a nice experience for users passing Headers to request methods. The Update() methods keep the explicit Headers argument since the Headers argument is not optional there. The only downside is that we lose a bit of type-safety because RequestOptions takes any Headers instance, so e.g. ContainerHeaders could be passed to Object.Upload(). I believe the benefits outweigh this problem. | ||||
| * | generalize BulkUploadError into BulkError | Stefan Majewsky | 2018-03-08 | 1 | -0/+2 |
| | | | | | For use in Account.BulkDelete(). | ||||
| * | fix a panic in the error case of Object.Download() | Stefan Majewsky | 2018-03-08 | 1 | -1/+3 |
| | | |||||
| * | add Object.Copy() and Object.Move() | Stefan Majewsky | 2018-02-21 | 1 | -8/+55 |
| | | |||||
| * | reorganize code | Stefan Majewsky | 2018-02-19 | 1 | -5/+5 |
| | | | | | | | * Gophercloud dependencies move into subpackage gopherschwift. * Tests move into subpackage tests (to avoid import cycles). + Rename "Client" to "Backend". | ||||
| * | test coverage for object upload, download, metadata update | Stefan Majewsky | 2018-02-19 | 1 | -2/+37 |
| | | |||||
| * | add Object.Download(), DownloadedObject | Stefan Majewsky | 2018-02-19 | 1 | -1/+31 |
| | | |||||
| * | initialize .Headers on accounts/containers during GET requests | Stefan Majewsky | 2018-02-19 | 1 | -1/+1 |
| | | |||||
| * | Object.upload: generate, validate Content-Length and Etag | Stefan Majewsky | 2018-02-16 | 1 | -5/+87 |
| | | |||||
| * | add object lifecycle testcase | Stefan Majewsky | 2018-02-16 | 1 | -4/+6 |
| | | |||||
| * | ensure that response body is drained | Stefan Majewsky | 2018-02-11 | 1 | -0/+1 |
| | | |||||
| * | sketch out the initial Object API | Stefan Majewsky | 2018-02-10 | 1 | -0/+181 |
