Replace duplicate code in http.server with call to http.client.parse_headers().
2 files changed