<s> from __future__ import absolute_import <EOL> import sys <EOL> assert sys . version_info [ <NUM_LIT:0> ] < <NUM_LIT:3> <EOL> from httplib import * <EOL> from httplib import HTTPMessage <EOL> from httplib import ( HTTP_PORT , <EOL> HTTPS_PORT , <EOL> _CS_IDLE , <EOL> _CS_REQ_STARTED , <EOL> _CS_REQ_SENT , <EOL> CONTINUE , <EOL> SWITCHING_PROTOCOLS , <EOL> PROCESSING , <EOL> OK , <EOL> CREATED , <EOL> ACCEPTED , <EOL> NON_AUTHORITATIVE_INFORMATION , <EOL> NO_CONTENT , <EOL> RESET_CONTENT , <EOL> PARTIAL_CONTENT , <EOL> MULTI_STATUS , <EOL> IM_USED , <EOL> MULTIPLE_CHOICES , <EOL> MOVED_PERMANENTLY , <EOL> FOUND , <EOL> SEE_OTHER , <EOL> NOT_MODIFIED , <EOL> USE_PROXY , <EOL> TEMPORARY_REDIRECT , <EOL> BAD_REQUEST , <EOL> UNAUTHORIZED , <EOL> PAYMENT_REQUIRED , <EOL> FORBIDDEN , <EOL> NOT_FOUND , <EOL> METHOD_NOT_ALLOWED , <EOL> NOT_ACCEPTABLE , <EOL> PROXY_AUTHENTICATION_REQUIRED , <EOL> REQUEST_TIMEOUT , <EOL> CONFLICT , <EOL> GONE , <EOL> LENGTH_REQUIRED , <EOL> PRECONDITION_FAILED , <EOL> REQUEST_ENTITY_TOO_LARGE , <EOL> REQUEST_URI_TOO_LONG , <EOL> UNSUPPORTED_MEDIA_TYPE , <EOL> REQUESTED_RANGE_NOT_SATISFIABLE , <EOL> EXPECTATION_FAILED , <EOL> UNPROCESSABLE_ENTITY , <EOL> LOCKED , <EOL> FAILED_DEPENDENCY , <EOL> UPGRADE_REQUIRED , <EOL> INTERNAL_SERVER_ERROR , <EOL> NOT_IMPLEMENTED , <EOL> BAD_GATEWAY , <EOL> SERVICE_UNAVAILABLE , <EOL> GATEWAY_TIMEOUT , <EOL> HTTP_VERSION_NOT_SUPPORTED , <EOL> INSUFFICIENT_STORAGE , <EOL> NOT_EXTENDED , <EOL> MAXAMOUNT , <EOL> ) <EOL> try : <EOL> from httplib import LineTooLong , LineAndFileWrapper <EOL> except ImportError : <EOL> pass <EOL> try : <EOL> from httplib import ( <EOL> _MAXLINE , <EOL> _MAXHEADERS , <EOL> _is_legal_header_name , <EOL> _is_illegal_header_value , <EOL> _METHODS_EXPECTING_BODY <EOL> ) <EOL> except ImportError : <EOL> pass </s>
