What happens when I type www.google.com and click go in the browser. How does the URL change to http://www.google.com? Please explain this to me.
feedback
|
migrated from stackoverflow.com Apr 19 '10 at 10:57
This question came from our site for professional and enthusiast programmers.
|
There are other protocols like | |||
|
feedback
|
|
That's simply a convenience feature in the browser based on the assumption that due to the overwhelming popularity of HTTP, any URL that does not have a protocol part is intended to be a HTTP URL. | |||
|
feedback
|
|
The browser simply assumes the protocol you want to use is Browsers support more than just If you do not supply a protocol manually, it just defaults to | |||
|
feedback
|
|
i think it's as simple as most browsers defaulting to HTTP when no protocol is specified. | |||
|
feedback
|
|
If no protocol is defined, the browser automatically assumes the http protocol. This may not always be the right choice though. Lets say you have a site that needs to be accessed via the rtsp protocol at rtsp://randomsite.com If you just type "randomsite.com" into your browser, then your browser will still go to "http://randomsite.com" | |||
|
feedback
|
|
The browser automatically adds | ||||
|
feedback
|