Skip to content

Commit

Permalink
Removed checkHostAndAddHeaders from DomainCheckRedirectPolicy
Browse files Browse the repository at this point in the history
  • Loading branch information
jeevatkm committed Jan 4, 2016
1 parent 298f2a1 commit 21fc3e3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions redirect.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ func DomainCheckRedirectPolicy(hostnames ...string) RedirectPolicy {
return errors.New("Redirect is not allowed as per DomainCheckRedirectPolicy")
}

checkHostAndAddHeaders(req, via[0])

return nil
})

Expand Down

0 comments on commit 21fc3e3

Please sign in to comment.