#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 aba9799..41240f0 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):