# Path: restkit/conn.py
# CHUNK_SIZE = 16 * 1024
# MAX_BODY = 1024 * 112
# DNS_TIMEOUT = 60
# class Connection(Connector):
#     def __init__(self, host, port, backend_mod=None, pool=None,
#             is_ssl=False, extra_headers=[], proxy_pieces=None, timeout=None,
#             **ssl_args):
#     def matches(self, **match_options):
#     def is_connected(self):
#     def handle_exception(self, exception):
#     def get_lifetime(self):
#     def invalidate(self):
#     def release(self, should_close=False):
#     def close(self):
#     def socket(self):
#     def send_chunk(self, data):
#     def send(self, data, chunked=False):
#     def sendlines(self, lines, chunked=False):
#     def sendfile(self, data, chunked=False):
#     def recv(self, size=1024):


import copy
import os
import tempfile
    from cStringIO import StringIO
    from StringIO import StringIO
from restkit import conn
# -*- coding: utf-8 -
#
# This file is part of restkit released under the MIT license.
# See the NOTICE for more information.


"""
TeeInput replace old FileInput. It use a file
if size > MAX_BODY or memory. It's now possible to rewind
read or restart etc ... It's based on TeeInput from Gunicorn.

"""
try:
except ImportError:


class TeeInput(object):


# Path: restkit/conn.py
# CHUNK_SIZE = 16 * 1024
# MAX_BODY = 1024 * 112
# DNS_TIMEOUT = 60
# class Connection(Connector):
#     def __init__(self, host, port, backend_mod=None, pool=None,
#             is_ssl=False, extra_headers=[], proxy_pieces=None, timeout=None,
#             **ssl_args):
#     def matches(self, **match_options):
#     def is_connected(self):
#     def handle_exception(self, exception):
#     def get_lifetime(self):
#     def invalidate(self):
#     def release(self, should_close=False):
#     def close(self):
#     def socket(self):
#     def send_chunk(self, data):
#     def send(self, data, chunked=False):
#     def sendlines(self, lines, chunked=False):
#     def sendfile(self, data, chunked=False):
#     def recv(self, size=1024):


# Path: restkit/tee.py
import copy
import os
import tempfile
    from cStringIO import StringIO
    from StringIO import StringIO
from restkit import conn

# -*- coding: utf-8 -
#
# This file is part of restkit released under the MIT license.
# See the NOTICE for more information.


"""
TeeInput replace old FileInput. It use a file
if size > MAX_BODY or memory. It's now possible to rewind
read or restart etc ... It's based on TeeInput from Gunicorn.

"""
try:
except ImportError:


class TeeInput(object):


    CHUNK_SIZE = conn.CHUNK_SIZE