Browse Source
introduce SkipHosts(hosts ...string) at the router level which can be used to allow certain hosts to be ignored by the Host() matcher, this is some times necessary for an application which registers handlers for one domain to be at a completely different style of operation One example is S3 APIs when servicing them as path style v/s bucket as part of the DNS style.pull/589/head
4 changed files with 45 additions and 0 deletions
Loading…
Reference in new issue