use HTTPResponse with StringIO to get response in a more httlib friendly way