This could also be used for a limit of Content-Size that is allowed to be (which could be an option) previewed in the app. (Since .e.g a 500 MB video file might not be a good idea to open in Qt? (just guessing, dunno, really))
Cons of HEAD:
Slower
HEAD can be disabled/unsupported on the destination server, fallback to endswith(".jpeg|.jpg") etc. then
Current state:
This could also be used for a limit of Content-Size that is allowed to be (which could be an option) previewed in the app. (Since .e.g a 500 MB video file might not be a good idea to open in Qt? (just guessing, dunno, really))
Cons of HEAD:
Any other ideas?