You Are Here:

Community: Developer Discussion Boards

#1 Old http_class - 2008-05-08, 15:19

Join Date: Apr 2008
Posts: 17
lalithak85
Offline
Registered User
Hi All,

We have been using http_class in urllib2.py ,_http.py and calling its various methods like

h = http_class(host) # will parse hostort
h.set_debuglevel(self._debuglevel)
h.request(req.get_method(), req.get_selector(), req.data, headers)
h.getresponse()

I am searching this class in the python directory but I could'nt find any..

DO we need to download this separate class ..if so please tell me the link.In addition http_class is provided eith some information in those programs
"http_class must implement the HTTPConnection API from httplib."
Reply With Quote

#2 Old Re: http_class - 2008-05-11, 22:42

Join Date: Jan 2004
Posts: 369
Location: Helsinki
Send a message via Skype™ to miohtama
miohtama's Avatar
miohtama
Offline
Regular Contributor
Quote:
Originally Posted by lalithak85 View Post
Hi All,

We have been using http_class in urllib2.py ,_http.py and calling its various methods like

h = http_class(host) # will parse hostort
h.set_debuglevel(self._debuglevel)
h.request(req.get_method(), req.get_selector(), req.data, headers)
h.getresponse()

I am searching this class in the python directory but I could'nt find any..

DO we need to download this separate class ..if so please tell me the link.In addition http_class is provided eith some information in those programs
"http_class must implement the HTTPConnection API from httplib."
If I recall correctly urllib2 is not supported in Python 2.2 and was added later on. I tried to get urllib2 working on PyS60 without any success.


Mikko Ohtamaa
Twinapex Research
http://www.twinapex.com
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia