A Tale of Testing Rust HTTP Clients!
For some programmers, making an HTTP request is an EXTREMELY COMMON activity!
Such programmers find themselves wanting and needing a library to help them make HTTP requests EFFICIENTLY and SAFELY.
There is an article called Smoke-testing Rust HTTP clients and it is about putting some Rust HTTP client libraries TO THE TEST!
Some of the libraries tested include reqwest, ureq, isahc, http_req, attohttpc, minreq, and cabot.
The article tells quite a tale of HARDSHIP!
Network code is not always so easy to write well but I am very SURPRISED about how the article author described the Rust state of affairs!
The article's conclusion says "The place of the go-to Rust HTTP client is sadly vacant."
I have not yet done any HTTP clienting with Rust but I did not think that there would be so many potential problems with SO MANY Rust HTTP client libraries!
The lesson I have learned from the article is beware of BUGS and UNSAFE CODE deep in libraries and their dependencies!
I must STUDY the code of Rust HTTP client libraries that I might some day use, including their dependencies.