1
0
Fork 0
mirror of https://github.com/Luzifer/share.git synced 2024-12-25 13:01:18 +00:00
share/vendor/github.com/aws/aws-sdk-go/service/apigateway/customization.go
Knut Ahlers 8f80d158ca
Move CLI util
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-12-02 19:12:46 +01:00

14 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")
})
}
}