Use tiny_http for handling login HTTP request
Our manual HTTP parsing and encoding was not working with Safari. Co-Authored-By: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
co-authored by
Antonio Scandurra
parent
71d64a837e
commit
86ff599285
@@ -79,9 +79,10 @@ impl Background {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn spawn<T>(&self, future: impl Send + Future<Output = T> + 'static) -> Task<T>
|
||||
pub fn spawn<T, F>(&self, future: F) -> Task<T>
|
||||
where
|
||||
T: 'static + Send,
|
||||
F: Send + Future<Output = T> + 'static,
|
||||
{
|
||||
self.executor.spawn(future)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user