#160
authorKenneth Reitz <me@kennethreitz.com>
Fri, 21 Oct 2011 02:09:08 +0000 (22:09 -0400)
committerKenneth Reitz <me@kennethreitz.com>
Fri, 21 Oct 2011 02:09:08 +0000 (22:09 -0400)
requests/api.py

index aba97998bb6442a3b570c2ba1868c577a06de59b..41240f00f878916d1c24883bd7c48cd13e90c47c 100644 (file)
@@ -146,7 +146,7 @@ def patch(url, data='', **kwargs):
     :param **kwargs: Optional arguments that ``request`` takes.
     """
 
-    return request('patch', url, **kwargs)
+    return request('patch', url,  data='', **kwargs)
 
 
 def delete(url, **kwargs):