(h, req, url=to_url)
| 1288 | req.timeout = socket._GLOBAL_DEFAULT_TIMEOUT |
| 1289 | |
| 1290 | def redirect(h, req, url=to_url): |
| 1291 | h.http_error_302(req, MockFile(), 302, "Blah", |
| 1292 | MockHeaders({"location": url})) |
| 1293 | # Note that the *original* request shares the same record of |
| 1294 | # redirections with the sub-requests caused by the redirections. |
| 1295 |
nothing calls this directly
no test coverage detected