Added current date for all HTTP headers, avoiding easy detection

This commit is contained in:
lgandx 2016-09-10 10:50:01 -03:00
parent 1d99ab648f
commit ecd62c322f
2 changed files with 14 additions and 10 deletions

View file

@ -21,7 +21,11 @@ import logging
import socket
import time
import settings
import datetime
def HTTPCurrentDate():
Date = datetime.datetime.utcnow().strftime('%a, %d %b %Y %H:%M:%S GMT')
return Date
try:
import sqlite3
except: