Changeset 1553:c0221fcbf175 in orange-bioinformatics


Ignore:
Timestamp:
02/05/12 18:47:19 (2 years ago)
Author:
ales_erjavec
Branch:
default
Message:

Added comment to requests use of keep-alive.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • obiKEGG2/service.py

    r1542 r1553  
    88 
    99import urllib2 
     10 
    1011def suds_service(): 
    1112    """ Return an suds service object with kegg api service methods. 
     
    1718    """ 
    1819    from suds.client import Client 
    19     # TODO: extend suds.transport HttpTransport 
    20     # to support keep-alive  
    2120    client = Client(KEGG_WDSL) 
    2221    return client.service 
     
    4544            message = request.message 
    4645            headers = request.headers 
     46            # This does not seem to work, every request seems 
     47            # to open a new connection 
    4748            headers["Connection"] = "Keep-Alive" 
    4849            try: 
Note: See TracChangeset for help on using the changeset viewer.