(r *http.Request)
| 71 | } |
| 72 | |
| 73 | func defaultResponse(r *http.Request) *http.Response { |
| 74 | return &http.Response{ |
| 75 | StatusCode: http.StatusNotFound, |
| 76 | Header: make(http.Header), |
| 77 | Body: defaultBody(), |
| 78 | Request: r, |
| 79 | } |
| 80 | } |
| 81 | |
| 82 | func cloneURL(u *url.URL) *url.URL { |
| 83 | uc := *u |
no test coverage detected
searching dependent graphs…