Hide those Contacting host: localhost:8080 messages on every request, matching the behavior with the curl backend. I don't think there's a good reason to make this configurable.
If you're wondering why I'm using the url-retrieve backend at all, it seems synchronous curl is still quite slow as detailed in https://github.com/tkf/emacs-request/issues/5. In fact it seems to get 0.3 seconds added on to each request, and deleting the 0.3 from line 1244 does seem to make it run 300ms faster (though still not as fast as url-retrieve), though I didn't look to see if this would break anything outside my own use case.
Hide those
Contacting host: localhost:8080
messages on every request, matching the behavior with the curl backend. I don't think there's a good reason to make this configurable.If you're wondering why I'm using the
url-retrieve
backend at all, it seems synchronous curl is still quite slow as detailed in https://github.com/tkf/emacs-request/issues/5. In fact it seems to get 0.3 seconds added on to each request, and deleting the0.3
from line 1244 does seem to make it run 300ms faster (though still not as fast asurl-retrieve
), though I didn't look to see if this would break anything outside my own use case.