mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Minor update
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user