def DieselReq(): diesel_request = HttpRequest('GET', '/', 'HTTP/1.1') diesel_request.headers = HttpHeaders(Host='localhost') # else 400 in hydrate return diesel_request
def DieselReq(): diesel_request = HttpRequest('GET', '/', 'HTTP/1.1') diesel_request.headers = HttpHeaders(Host='localhost') # else 400 return diesel_request
def DieselReq(path='/'): diesel_request = HttpRequest('GET', path, 'HTTP/1.1') diesel_request.headers = HttpHeaders( Host='localhost') # else 400 in hydrate return diesel_request