mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Minor update
This commit is contained in:
parent
e6edecb396
commit
60c7fb3e03
4 changed files with 6 additions and 1 deletions
|
|
@ -14,6 +14,7 @@ class MethodRequest(_urllib.request.Request):
|
|||
|
||||
def set_method(self, method):
|
||||
self.method = method.upper()
|
||||
print("%s,%s" % (type(self.method), type(self.data)))
|
||||
|
||||
def get_method(self):
|
||||
return getattr(self, 'method', _urllib.request.Request.get_method(self))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue