You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
# __
|
|
|
|
# /__) _ _ _ _ _/ _
|
|
|
|
# / ( (- (/ (/ (- _) / _)
|
|
|
|
# /
|
|
|
|
|
|
|
|
"""
|
|
|
|
requests
|
|
|
|
~~~~~~~~
|
|
|
|
|
|
|
|
:copyright: (c) 2012 by Kenneth Reitz.
|
|
|
|
:license: ISC, see LICENSE for more details.
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
__title__ = 'requests'
|
|
|
|
__version__ = '0.13.1'
|
|
|
|
__build__ = 0x001301
|
|
|
|
__author__ = 'Kenneth Reitz'
|
|
|
|
__license__ = 'ISC'
|
|
|
|
__copyright__ = 'Copyright 2012 Kenneth Reitz'
|
|
|
|
|
|
|
|
|
|
|
|
from . import utils
|
|
|
|
from .models import Request, Response
|
|
|
|
from .api import request, get, head, post, patch, put, delete, options
|
|
|
|
from .sessions import session, Session
|
|
|
|
from .status_codes import codes
|
|
|
|
from .exceptions import (
|
|
|
|
RequestException, Timeout, URLRequired,
|
|
|
|
TooManyRedirects, HTTPError, ConnectionError
|
|
|
|
)
|