Message 80634 - Python tracker
Further investigation ( grep -r getallmatchingheaders Lib/* ) reveals that in addition to having no tests, and being implemented incorrectly in http.client, getallmatchingheaders() is called only once, in http.server; that code is also broken (I reported this yesterday in #5053). Maybe Python 3 is where getallmatchingheaders can make a graceful goodbye (and a 2to3 conversion added?).