mirror of
https://github.com/rclone/rclone.git
synced 2025-08-09 13:55:15 +02:00
Redo http Transport code
* Insert User-Agent in Transport - fixes #199 * Update timeouts to use Context * Modernise transport
This commit is contained in:
@ -162,7 +162,6 @@ func swiftConnection(name string) (*swift.Connection, error) {
|
||||
ApiKey: apiKey,
|
||||
AuthUrl: authURL,
|
||||
AuthVersion: fs.ConfigFile.MustInt(name, "auth_version", 0),
|
||||
UserAgent: fs.UserAgent,
|
||||
Tenant: fs.ConfigFile.MustValue(name, "tenant"),
|
||||
Region: fs.ConfigFile.MustValue(name, "region"),
|
||||
Domain: fs.ConfigFile.MustValue(name, "domain"),
|
||||
|
Reference in New Issue
Block a user