• Lucas Carvalho's avatar
    We must close the HTTP connection after calling the getresponse method. · b959822d
    Lucas Carvalho authored
    Otherwise, all the connections would still alive and this is not a good
    behavior.
    
    Once we need to close the connections it is not possible to return the
    content of getresponse method, the method read would return an empty
    string instead of the correct data.
    
    And also the data returned by shadir is a json content,
    to reach a better usage of libnetworkcache the data returned must be
    loaded by json library, in other words, it must be a list.
    b959822d
Name
Last commit
Last update
slapos Loading commit data...
CHANGES.txt Loading commit data...
MANIFEST.in Loading commit data...
README.txt Loading commit data...
setup.py Loading commit data...