route/vendor/github.com/aws/aws-sdk-go/service/apigateway/customization.go

15 lines
289 B
Go
Raw Normal View History

2017-12-02 23:34:35 +00:00
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")
})
}
}