def put(self, path, body=None, f=None, headers=None):
assert body is None or is_bytes(body)<EOL>if f is not None:<EOL><INDENT>body = f.read()<EOL><DEDENT>self._request("<STR_LIT>", path, body=body, headers=headers)<EOL>
Put resource with body