Parse HTTP library in Python