favicon.ico problem

Ned Deily nad at acm.org
Tue Aug 10 00:48:36 EDT 2010


In article <9F21F146-A43A-4108-962B-4DFA14E430E4 at gmail.com>,
 Navkirat Singh <navkirats at gmail.com> wrote:
> I am having this strange problem. I have programmed a very basic 
> multiprocessing webserver using low level sockets. Each time the server 
> receives a request it spawns a new process to handle the request. Now when 
> through a web browser I type http://localhost:8001/ it automatically creates 
> two processes: One process to server the '/' path and another one to serve 
> the '/favicon.ico' path. I have not programmed it to serve the latter. Infact 
> I dont even know where that name '/favicon.ico' comes from. Any insight into 
> this weird behavior would be greatly appreciated.

It's not the server's doing, it's the web browser requesting the 
favicon.  See http://en.wikipedia.org/wiki/Favicon

-- 
 Ned Deily,
 nad at acm.org




More information about the Python-list mailing list