mirror of
https://github.com/rclone/rclone.git
synced 2025-06-04 19:24:35 +08:00
Redo http Transport code
* Insert User-Agent in Transport - fixes #199 * Update timeouts to use Context * Modernise transport
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user