fixed minor bug

This commit is contained in:
byt3bl33d3r 2014-11-29 17:37:42 +01:00
parent cded43f0c6
commit 0d09934ae5

View file

@ -98,8 +98,12 @@ class ClientRequest(Request):
client = self.getClientIP() client = self.getClientIP()
path = self.getPathFromUri() path = self.getPathFromUri()
self.content.seek(0,0) try:
postData = self.content.read() self.content.seek(0,0)
postData = self.content.read()
except:
pass
url = 'http://' + host + path url = 'http://' + host + path
self.dnsCache.cacheResolution(host, address) self.dnsCache.cacheResolution(host, address)