mirror of
https://github.com/rclone/rclone.git
synced 2024-12-12 02:02:02 +01:00
15 lines
289 B
Go
15 lines
289 B
Go
|
package apigateway
|
||
|
|
||
|
import (
|
||
|
"github.com/aws/aws-sdk-go/aws/client"
|
||
|
"github.com/aws/aws-sdk-go/aws/request"
|
||
|
)
|
||
|
|
||
|
func init() {
|
||
|
initClient = func(c *client.Client) {
|
||
|
c.Handlers.Build.PushBack(func(r *request.Request) {
|
||
|
r.HTTPRequest.Header.Add("Accept", "application/json")
|
||
|
})
|
||
|
}
|
||
|
}
|