×

Discussion Board

Results 1 to 2 of 2

Thread: http_class

  1. #1
    Registered User
    Join Date
    Apr 2008
    Posts
    17

    http_class

    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."

  2. #2
    Regular Contributor
    Join Date
    Jan 2004
    Location
    Helsinki
    Posts
    376

    Re: http_class

    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

    http://mfabrik.com
    http://blog.mfabrik.com

Posting Permissions

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