restclient.el
restclient.el copied to clipboard
Consider hiding message in the echo area when the request completes
Thanks for restclient, it's really handy.
Do you think it would be possible to hide the 'Contacting host: example.com:80' message when the request has completed? It would be nice to get some visual indication in the echo area.
It's an issue right now when repeating the same request:
- Make the first request, response buffer shows up, great
- Make the second request (same payload), potentially expecting a different response
- Can't tell if the response buffer is showing the result of the first or second request, plus the 'contacting host...' message still shows in the echo area. This could mean the second request is still in progress, or that the result was the same.
I appreciate certain parts of the response buffer change for every request (e.g. Date header and request duration), but it's still not obvious at a casual glance if the second request has completed or not.
Perhaps echoing a blank message when a request completes would work?