Skip to content

Commit

Permalink
Improve HTML form with methods different from POST andresriancho#12039
Browse files Browse the repository at this point in the history
  • Loading branch information
andresriancho committed Aug 10, 2015
1 parent 3d14556 commit 182bcd4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions w3af/core/data/dc/generic/form.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ def iterkeys(self):
def update(self, *args, **kwargs):
return self.form_params.update(*args, **kwargs)

def has_post_data(self):
return self.form_params.has_post_data()

def __str__(self):
"""
Each form subclass (URLEncoded and Multipart form) need to implement
Expand Down

0 comments on commit 182bcd4

Please sign in to comment.