KEGG_WDSL = "http://soap.genome.jp/KEGG.wsdl"
""" Return an suds service object with kegg api service methods.
from suds.client import Client
- # TODO: extend suds.transport HttpTransport
- # to support keep-alive
client = Client(KEGG_WDSL)
message = request.message
headers = request.headers
+ # This does not seem to work, every request seems
+ # to open a new connection
headers["Connection"] = "Keep-Alive"
response = requests.post(url, data=message,