favicon.ico problem

Navkirat Singh navkirats at gmail.com
Tue Aug 10 01:54:26 EDT 2010


On 10-Aug-2010, at 10:57 AM, Xia, Zhen wrote:

> On Tue, 10 Aug 2010 10:02:49 +0530
> Navkirat Singh <navkirats at gmail.com> wrote:
> 
>> Hi guys,
>> 
>> 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.
>> 
>> Regards,
>> Nav
>> -- 
>> http://mail.python.org/mailman/listinfo/python-list
> 
> Your server just need to return an HTTP 404 response for this 'favicon.ico' request.
> 
> 
> -- 
> Xia, Zhen <zhxia at njnet.edu.cn>
> -- 
> http://mail.python.org/mailman/listinfo/python-list


Thanks guys !

That explains it ! 

Nav


More information about the Python-list mailing list