<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 9 Jun 2017, at 20:54, Donald Stufft <<a href="mailto:donald@stufft.io" class="">donald@stufft.io</a>> wrote:</div><div class=""><br class=""><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">All that being said, if someone *does* want pip to use WinHTTP, requests provides a mechanism where you can plug in your own network handling code, so someone could write a requests-winhttp adapter that did that, and we could possibly even expose the ability to ask pip to use that. However that’s entirely in the domain of pip/requests feature requests and not really related to python-dev/this PEP itself.<br class=""></div></div></blockquote><br class=""></div><div>As an FYI I played with this on Mac far enough to prove that it’d work: <a href="https://github.com/Lukasa/requests-darwin" class="">https://github.com/Lukasa/requests-darwin</a></div><div><br class=""></div><div>It’s not anywhere near feature complete, but it basically works pretty ok. Of course, ideally Requests would just get entirely out of the way at this point because it duplicates a lot of NSURLSession’s logic, but it’s an approach that can work.</div><div><br class=""></div><div>Cory</div><br class=""></body></html>