Skip to content

Commit

Permalink
allow to specify any header
Browse files Browse the repository at this point in the history
  • Loading branch information
xmendez committed Dec 19, 2018
1 parent 2dd3be0 commit d0eb227
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/wfuzz/externals/reqresp/Request.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,7 @@ def setPostData(self, pd, boundary=None):

def addHeader(self, key, value):
k = string.capwords(key, "-")
if k.lower() not in ["accept-encoding", "content-length", "if-modified-since", "if-none-match"]:
self._headers[k] = value
self._headers[k] = value

def delHeader(self, key):
k = string.capwords(key, "-")
Expand Down

0 comments on commit d0eb227

Please sign in to comment.