from __future__ import absolute_import
import sys

assert sys.version_info[0] < 3

from httplib import *

@@ -98,8 +98,2423 @@
 mport *%0A
+%0A# These constants aren't included in __all__ in httplib.py:%0A%0Afrom httplib import (HTTP_PORT,%0A                     HTTPS_PORT,%0A%0A                     _CS_IDLE,%0A                     _CS_REQ_STARTED,%0A                     _CS_REQ_SENT,%0A%0A                     CONTINUE,%0A                     SWITCHING_PROTOCOLS,%0A                     PROCESSING,%0A%0A                     OK,%0A                     CREATED,%0A                     ACCEPTED,%0A                     NON_AUTHORITATIVE_INFORMATION,%0A                     NO_CONTENT,%0A                     RESET_CONTENT,%0A                     PARTIAL_CONTENT,%0A                     MULTI_STATUS,%0A                     IM_USED,%0A%0A                     MULTIPLE_CHOICES,%0A                     MOVED_PERMANENTLY,%0A                     FOUND,%0A                     SEE_OTHER,%0A                     NOT_MODIFIED,%0A                     USE_PROXY,%0A                     TEMPORARY_REDIRECT,%0A%0A                     BAD_REQUEST,%0A                     UNAUTHORIZED,%0A                     PAYMENT_REQUIRED,%0A                     FORBIDDEN,%0A                     NOT_FOUND,%0A                     METHOD_NOT_ALLOWED,%0A                     NOT_ACCEPTABLE,%0A                     PROXY_AUTHENTICATION_REQUIRED,%0A                     REQUEST_TIMEOUT,%0A                     CONFLICT,%0A                     GONE,%0A                     LENGTH_REQUIRED,%0A                     PRECONDITION_FAILED,%0A                     REQUEST_ENTITY_TOO_LARGE,%0A                     REQUEST_URI_TOO_LONG,%0A                     UNSUPPORTED_MEDIA_TYPE,%0A                     REQUESTED_RANGE_NOT_SATISFIABLE,%0A                     EXPECTATION_FAILED,%0A                     UNPROCESSABLE_ENTITY,%0A                     LOCKED,%0A                     FAILED_DEPENDENCY,%0A                     UPGRADE_REQUIRED,%0A%0A                     INTERNAL_SERVER_ERROR,%0A                     NOT_IMPLEMENTED,%0A                     BAD_GATEWAY,%0A                     SERVICE_UNAVAILABLE,%0A                     GATEWAY_TIMEOUT,%0A                     HTTP_VERSION_NOT_SUPPORTED,%0A                     INSUFFICIENT_STORAGE,%0A                     NOT_EXTENDED,%0A%0A                     MAXAMOUNT,%0A                     _MAXLINE,%0A                     _MAXHEADERS,%0A                     _is_legal_header_name,%0A                     _is_illegal_header_value,%0A                     _METHODS_EXPECTING_BODY,%0A%0A                     LineTooLong,%0A                     LineAndFileWrapper,%0A                    )%0A

Add constants from httplib to http.client (issue #137)