What is this kind of URL called?
http://admin:123456@192.168.1.178/videostream.cgi
I didn't know that username and password could be set directly in the URL. How does thi开发者_如何学运维s work? Is it standard? What search terms should I use to find out more about this?
It's a standard way of providing login credentials in the URL so it doesn't have to prompt you for them.
admin
is the username, 123456
is the password. The hostname is 192.168.1.178
as usual. You're connecting through the http
protocol, so HTTP authentication is used here to access the script.
It's the authority part of a URI scheme defined by RFC3986.
https://www.rfc-editor.org/rfc/rfc3986#section-3.2
It's just a normal URL. See here for the URL syntax: http://en.wikipedia.org/wiki/Uniform_Resource_Locator#Syntax
精彩评论