bugfix
authorKenneth Reitz <me@kennethreitz.com>
Sun, 23 Oct 2011 19:39:33 +0000 (15:39 -0400)
committerKenneth Reitz <me@kennethreitz.com>
Sun, 23 Oct 2011 19:39:33 +0000 (15:39 -0400)
requests/api.py

index c055644..34febf2 100644 (file)
@@ -91,7 +91,7 @@ def patch(url, data='', **kwargs):
     :param **kwargs: Optional arguments that ``request`` takes.
     """
 
-    return request('patch', url,  data='', **kwargs)
+    return request('patch', url,  data=data, **kwargs)
 
 
 def delete(url, **kwargs):