(h http.Header)
| 231 | } |
| 232 | |
| 233 | func removeHopHeaders(h http.Header) { |
| 234 | for _, hdr := range hopHeaders { |
| 235 | h.Del(hdr) |
| 236 | } |
| 237 | } |
| 238 | |
| 239 | // parseRequestURI extracts the path from an absolute proxy URI. |
| 240 | func parseRequestURI(rawURI string) string { |