faqts : Computers : Programming : Languages : Python

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

3 of 14 people (21%) answered Yes
Recently 1 of 10 people (10%) answered Yes

Entry

How do you send a HTTP_REFERER using urllib or any other similar module? Is it even possible?

Jul 1st, 2008 22:19
jack seo, Khurram Ijaz, James c359,


Hi,
HTTP_REFERER is simply a header. You can simply add a header 
HTTP_REFERER in the outgoing headers.
MSG['HTTP_REFERER'] = 'http://www.renai-soft.com'
The above example is using MIME MESSAGE class. Please check the 
spelling of HTTP_REFERRER in the specs.
http://celebritiesnewsupdates.blogspot.com/
http://topweddingguide.blogspot.com
http://homenaturalremedies.blogspot.com/
http://giftsworld.blogspot.com
http://bollywoodvideos.indiangamesworld.com
http://www.indiangamesworld.com