I want to use
url-file-exists-p (or more precisely, the underlying
url-https-file-exists-p) to detect possible broken links. However, some
https link makes
url-file-exists-p require interaction (This even happens when
url-file-exists-p is called programmatically):
- when the TLS connection is insecure: a buffer named
*Network Security Manager*pop up to show certificate information and a prompt is waiting for input as below; (below is the result of the help).
- ask for user-name and password.
I'm looking for a way to
- prevent the buffer
*Network Security Manager*pop up
- send input to the prompt whenever is needed
- return different values/symbols depending on the context
t: secure connection, no prompt showed up
nil: connection failure
'no: depending on the input (2.) sent whenever a prompt requires one
'ignoredif username/password are not sent to the prompt causing failure.