diff options
author | tjp <tjp@ctrl-c.club> | 2024-01-04 12:49:54 -0700 |
---|---|---|
committer | tjp <tjp@ctrl-c.club> | 2024-01-04 12:49:54 -0700 |
commit | b09d2de941b65956eb7c748e3ce44ff568d4c2af (patch) | |
tree | 4f69c0c8616bfb0adf789b089e989e723eba894f /client.go | |
parent | 1352f915a62676959f4d7832e7763cbe2589b680 (diff) |
titan support in the client.Upload() method
Diffstat (limited to 'client.go')
-rw-r--r-- | client.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -105,7 +105,7 @@ func (c Client) Upload(url string, contents io.Reader) (*Response, error) { return nil, err } switch u.Scheme { - case "spartan", "http", "https": + case "titan", "spartan", "http", "https": return c.RoundTrip(&types.Request{URL: u, Meta: contents}) default: return nil, fmt.Errorf("upload not supported on %s", u.Scheme) |