Skip to content

Commit

Permalink
Merge remote-tracking branch 'github/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspatzke committed Jul 29, 2017
2 parents dfbd44a + 62fa2e2 commit 233bc92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ElasticBurp.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,10 +294,10 @@ def genESDoc(self, msg, timeStampFromResponse=False):
expiration = None
if expCookie:
try:
expiration = datetime.fromtimestamp(expCookie.time / 1000)
expiration = str(datetime.fromtimestamp(expCookie.time / 1000))
except:
pass
doc.add_response_cookie(cookie.getName(), cookie.getValue(), cookie.getExpiration(), cookie.getPath(), expiration)
doc.add_response_cookie(cookie.getName(), cookie.getValue(), cookie.getDomain(), cookie.getPath(), expiration)

bodyOffset = iResponse.getBodyOffset()
doc.response.body = response[bodyOffset:].tostring().decode("ascii", "replace")
Expand Down

0 comments on commit 233bc92

Please sign in to comment.