'Do a PUT request.  Very like the ``.get()`` method.
``params`` are put in the body of the request.
``upload_files`` is for file uploads.  It should be a list of
``[(fieldname, filename, file_content)]``.  You can also use
just ``[(fieldname, filename)]`` and the file content will be
read from disk.
Returns a `response object
<class-paste.fixture.TestResponse.html>`_'

def put(self, url, params='', headers=None, extra_environ=None, status=None, upload_files=None, expect_errors=False):

    return self._gen_request('PUT', url, params=params, headers=headers, extra_environ=extra_environ, status=status, upload_files=upload_files, expect_errors=expect_errors)
