aboutsummaryrefslogtreecommitdiff
path: root/field_time.go
Commit message (Collapse)AuthorAgeFilesLines
* fix formatting of X-Delete-At headerStefan Majewsky2018-05-041-2/+1
|
* revamp the Headers APIStefan Majewsky2018-03-111-17/+17
| | | | | | | | | | | | | | | | | | 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.
* from the surprising-oversights dept.Stefan Majewsky2018-02-161-3/+4
|
* add ObjectHeadersStefan Majewsky2018-02-081-12/+109
|
* increase test coverageStefan Majewsky2018-02-071-6/+1
|
* finish moving towards new auto-generated Headers implementationStefan Majewsky2018-02-071-0/+78
Everything in one package once more. The bigger API in *this* package is worth it when we don't have to expose guts to cross package boundaries.