(w connection.ResponseWriter, response *http.Response)
| 379 | } |
| 380 | |
| 381 | func copyTrailers(w connection.ResponseWriter, response *http.Response) { |
| 382 | for trailerHeader, trailerValues := range response.Trailer { |
| 383 | for _, trailerValue := range trailerValues { |
| 384 | w.AddTrailer(trailerHeader, trailerValue) |
| 385 | } |
| 386 | } |
| 387 | } |
| 388 | |
| 389 | func getDestFromRule(rule *ingress.Rule, req *http.Request) (string, error) { |
| 390 | switch rule.Service.String() { |
no test coverage detected