mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
More layout adjustments
This commit is contained in:
parent
9fcab68700
commit
c5e385f77a
2 changed files with 6 additions and 2 deletions
|
|
@ -11,8 +11,12 @@ import urllib2
|
|||
|
||||
|
||||
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):
|
||||
self.method = method.upper()
|
||||
|
||||
def get_method(self):
|
||||
return getattr(self, 'method', urllib2.Request.get_method(self))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue