diff options
author | =Corey Hulen <corey@hulen.com> | 2015-07-29 01:26:10 -0800 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2015-07-29 01:26:10 -0800 |
commit | 9677a9f71777d75f3def0b0cb238050a30ec6a67 (patch) | |
tree | 8579fae8134ef2167a2cc97d95b0225e8acfdb46 /Godeps/_workspace/src/github.com/awslabs/aws-sdk-go/service/route53/customizations.go | |
parent | 81e55eb57c367a1403f693712411c0781287ea55 (diff) | |
download | chat-9677a9f71777d75f3def0b0cb238050a30ec6a67.tar.gz chat-9677a9f71777d75f3def0b0cb238050a30ec6a67.tar.bz2 chat-9677a9f71777d75f3def0b0cb238050a30ec6a67.zip |
Fixes mm-1355 adds rate limiting apis
Diffstat (limited to 'Godeps/_workspace/src/github.com/awslabs/aws-sdk-go/service/route53/customizations.go')
-rw-r--r-- | Godeps/_workspace/src/github.com/awslabs/aws-sdk-go/service/route53/customizations.go | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/Godeps/_workspace/src/github.com/awslabs/aws-sdk-go/service/route53/customizations.go b/Godeps/_workspace/src/github.com/awslabs/aws-sdk-go/service/route53/customizations.go deleted file mode 100644 index 341e20d81..000000000 --- a/Godeps/_workspace/src/github.com/awslabs/aws-sdk-go/service/route53/customizations.go +++ /dev/null @@ -1,20 +0,0 @@ -package route53 - -import ( - "regexp" - - "github.com/awslabs/aws-sdk-go/aws" -) - -func init() { - initService = func(s *aws.Service) { - s.Handlers.Build.PushBack(sanitizeURL) - } -} - -var reSanitizeURL = regexp.MustCompile(`\/%2F\w+%2F`) - -func sanitizeURL(r *aws.Request) { - r.HTTPRequest.URL.Opaque = - reSanitizeURL.ReplaceAllString(r.HTTPRequest.URL.Opaque, "/") -} |