mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-23 01:56:36 +03:00
Merge pull request #2620 from delvelabs/mark-steps-in-har
Fix HAR validation for HAR viewer
This commit is contained in:
commit
a9a744fec6
|
@ -72,7 +72,11 @@ class Entry:
|
||||||
"request": self.request.toDict(),
|
"request": self.request.toDict(),
|
||||||
"response": self.response.toDict(),
|
"response": self.response.toDict(),
|
||||||
"cache": {},
|
"cache": {},
|
||||||
"timings": {},
|
"timings": {
|
||||||
|
"send": -1,
|
||||||
|
"wait": -1,
|
||||||
|
"receive": -1,
|
||||||
|
},
|
||||||
"time": int(1000 * (self.endTime - self.startTime)),
|
"time": int(1000 * (self.endTime - self.startTime)),
|
||||||
"startedDateTime": "%s%s" % (datetime.datetime.fromtimestamp(self.startTime).isoformat(), time.strftime("%z")) if self.startTime else None
|
"startedDateTime": "%s%s" % (datetime.datetime.fromtimestamp(self.startTime).isoformat(), time.strftime("%z")) if self.startTime else None
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user