Redo http Transport code
* Insert User-Agent in Transport - fixes #199 * Update timeouts to use Context * Modernise transport
This commit is contained in:
parent
5c91623148
commit
0cb9bb3b54
15 changed files with 273 additions and 133 deletions
|
@ -172,7 +172,6 @@ func NewFs(name, root string) (fs.Fs, error) {
|
|||
}
|
||||
|
||||
c := acd.NewClient(oAuthClient)
|
||||
c.UserAgent = fs.UserAgent
|
||||
f := &Fs{
|
||||
name: name,
|
||||
root: root,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue