Merge "Add -X to DELETE and PUT in debug mode"

This commit is contained in:
Jenkins 2012-09-06 22:35:02 +00:00 committed by Gerrit Code Review
commit 671afc344c

@ -120,7 +120,7 @@ class HTTPClient(httplib2.Http):
string_parts = ['curl -i']
for element in args:
if element in ('GET', 'POST'):
if element in ('GET', 'POST', 'DELETE', 'PUT'):
string_parts.append(' -X %s' % element)
else:
string_parts.append(' %s' % element)