The action in the form upload is obviously the path of the https protocol. After submitting, f12 checked the network and found that it was the http protocol, so the request always failed. I don’t know what happened
The path analysis of the website is divided into absolute path and relative path.
When there is a specified protocol, it is an absolute path: https://xxx or //xxx.
When using an absolute path, the protocol specified in the absolute path is used. When using relative paths use the protocol inherited from the parent.
So for your problem, you specified the protocol, which is an absolute path, so your problem will not occur. The idea is the same as above, you may redirect https to http.
Generally not, unless your server redirects
https
tohttp
The path analysis of the website is divided into absolute path and relative path.
When there is a specified protocol, it is an absolute path: https://xxx or //xxx.
When using an absolute path, the protocol specified in the absolute path is used. When using relative paths use the protocol inherited from the parent.
So for your problem, you specified the protocol, which is an absolute path, so your problem will not occur. The idea is the same as above, you may redirect https to http.