Using the code from this answer: https://stackoverflow.com/a/9744961/514773
I've noticed that any time I enter: http://localhost:8080 into my browser the output result is:
http://localhost:8080/
http://localhost:8080/favicon.ico
Subsequent requests print the same thing. This to me looks like I am getting two requests for price of one. Is this normal? (This is not my desired behavior.)
Browsers automatically request the favicon.ico
file by default when you issue a request for a web page. The favicon.ico
file is the small icon that appears in the URL bar of your browser.