-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
there is a problem in sometimes to fetch thumbnail with HEAD request.
error is :
thread 'tokio-runtime-worker' panicked at src/main.rs:388:70:
calledResult::unwrap()
on anErr
value: Unsupported(UnsupportedError { format: Unknown, kind: Format(Unknown) })
the problem is that in code(main.rs:344), the type of request method ( GET or HEAD ) is not checked for complete the response.
the solution is that line main.rs:344 change with below line:
if rewrite && req.method() == Method::GET {
Metadata
Metadata
Assignees
Labels
No labels