mirror of
https://github.com/chatmail/core.git
synced 2026-04-28 02:46:29 +03:00
JSON-RPC: return mimetype and encoding for HTTP blobs
This commit is contained in:
@@ -16,7 +16,7 @@ pub(crate) mod http;
|
||||
pub(crate) mod session;
|
||||
pub(crate) mod tls;
|
||||
|
||||
pub use http::{read_url, read_url_blob};
|
||||
pub use http::{read_url, read_url_blob, Response as HttpResponse};
|
||||
|
||||
async fn connect_tcp_inner(addr: SocketAddr, timeout_val: Duration) -> Result<TcpStream> {
|
||||
let tcp_stream = timeout(timeout_val, TcpStream::connect(addr))
|
||||
|
||||
Reference in New Issue
Block a user