Commit Graph

20 Commits

Author SHA1 Message Date
Steven Allen
2612353d85 use error from go-ipfs-cmds
note: this drops the Command field


This commit was moved from ipfs/go-ipfs-http-client@523a26f0a8
2019-06-13 12:07:49 -07:00
Steven Allen
1b81f2ef10 add extended error handling
fixes #19


This commit was moved from ipfs/go-ipfs-http-client@8e3552ac1e
2019-06-11 17:41:49 -07:00
Łukasz Magiera
8d953a7359 Use interface for RequestBuilder
This commit was moved from ipfs/go-ipfs-http-client@0534b7ca83
2019-05-10 15:38:20 +02:00
Steven Allen
0fc826dbb7 Merge pull request ipfs/go-ipfs-http-client#14 from ipfs/feat/add-context
feed through context

This commit was moved from ipfs/go-ipfs-http-client@0b1bf38e05
2019-04-27 12:54:29 -07:00
Steven Allen
70158edd59 feed through context
see https://github.com/ipfs/go-ipfs-api/pull/173

all credit to @optman


This commit was moved from ipfs/go-ipfs-http-client@7b75a8c577
2019-04-04 00:37:23 -07:00
Steven Allen
40f40b5a65 fix golang-ci lint nits
This commit was moved from ipfs/go-ipfs-http-client@ccf20b0ef5
2019-03-29 13:38:28 +00:00
Łukasz Magiera
cc9968d5dd request: fix Content-Disposition header in Send
This commit was moved from ipfs/go-ipfs-http-client@b7db17c63b
2019-02-21 14:39:12 +01:00
Łukasz Magiera
19d91fbb25 response: pass close error in decode
This commit was moved from ipfs/go-ipfs-http-client@4a87232eca
2019-02-20 22:08:02 +01:00
Łukasz Magiera
ad844e3d0b response: simplify Decode
This commit was moved from ipfs/go-ipfs-http-client@adbfda4c1c
2019-02-20 16:52:41 +01:00
Łukasz Magiera
f6a3a4fb2d gofmt
This commit was moved from ipfs/go-ipfs-http-client@65cd935e13
2019-02-19 23:28:39 +01:00
Łukasz Magiera
f34788e6ee cleanup Swarm.Peers
This commit was moved from ipfs/go-ipfs-http-client@fd7858dc57
2019-02-19 23:11:08 +01:00
Łukasz Magiera
db1af499c9 use mime.ParseMediaType for Content-Type response parsing
This commit was moved from ipfs/go-ipfs-http-client@217d194523
2019-02-19 22:33:57 +01:00
Łukasz Magiera
a058e7d31a response: Document zero-result Decode behaviour
This commit was moved from ipfs/go-ipfs-http-client@902bc5ef8c
2019-02-19 22:27:48 +01:00
Łukasz Magiera
7be8d01ee7 response: option to disable output draining
This commit was moved from ipfs/go-ipfs-http-client@9f3d9635fa
2019-02-18 17:27:12 +01:00
Łukasz Magiera
b6ace8dd40 response: handle late errors
This commit was moved from ipfs/go-ipfs-http-client@139e9e5ff1
2019-02-18 17:12:37 +01:00
Łukasz Magiera
7229dbbf73 don't read all and then throw away the buffer
This commit was moved from ipfs/go-ipfs-http-client@5c96c2954a
2019-02-18 17:04:33 +01:00
Łukasz Magiera
bb83ccb15f response: read trailing error headers
This commit was moved from ipfs/go-ipfs-http-client@83dfd84ba8
2019-02-04 19:44:48 +01:00
Łukasz Magiera
af197cb6d9 api.WithOption
This commit was moved from ipfs/go-ipfs-http-client@634b00bf1a
2019-01-08 14:46:52 +01:00
Łukasz Magiera
1acf416390 Implement .Unixfs.Ls()
This commit was moved from ipfs/go-ipfs-http-client@eb1944fae3
2019-01-08 02:53:24 +01:00
Łukasz Magiera
6d85aff407 Initial structure, path stuff
This commit was moved from ipfs/go-ipfs-http-client@93943f7f56
2018-11-06 13:13:15 +01:00