mirror of
https://github.com/sqlmapproject/sqlmap
synced 2026-01-28 11:08:38 +01:00
Minor style update
This commit is contained in:
parent
570d30789b
commit
54e9a1fb2d
1 changed files with 2 additions and 3 deletions
|
|
@ -7,11 +7,10 @@ See the file 'doc/COPYING' for copying permission
|
||||||
|
|
||||||
import urllib2
|
import urllib2
|
||||||
|
|
||||||
|
|
||||||
class MethodRequest(urllib2.Request):
|
class MethodRequest(urllib2.Request):
|
||||||
'''
|
"""
|
||||||
Used to create HEAD/PUT/DELETE/... requests with urllib2
|
Used to create HEAD/PUT/DELETE/... requests with urllib2
|
||||||
'''
|
"""
|
||||||
|
|
||||||
def set_method(self, method):
|
def set_method(self, method):
|
||||||
self.method = method.upper()
|
self.method = method.upper()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue