def put(self, host, name, body):
        http = httplib2.Http(timeout=self.timeout)
        url = self._get_url(host, name)
        response, response_body = http.request(url, 'PUT',
            body=body,
            headers={'Content-type': 'application/octet-stream'}
        )
        if response.status >= 400:
            raise HTTPError('PUT', url, response.status)
dataset/ETHPy150Open isagalaev/django_dust/django_dust/http.py/HTTPTransport.put/original