My Privacy DNS | Shortcuts: Matrix | PyFunceble | Porn Records (Requires login) | Support | PRIM

Verified Commit 880cae44 authored by Nissar Chababy's avatar Nissar Chababy
Browse files

fixup! Improvement of the HTTP/S requester.

parent 73ff4906
......@@ -96,7 +96,7 @@ class RequestAdapterBase(requests.adapters.HTTPAdapter):
response = requests.models.Response()
response.url = f"http://{PyFunceble.storage.NOT_RESOLVED_STD_HOSTNAME}"
response.status_code = HTTPStatusCode.STD_UNKNOWN_STATUS_CODE
response._content = "".encode("utf-8")
response._content = "".encode("utf-8") # pylint: disable=protected-access
response.history = [response]
response.headers = {
"X-Message": "This is a fake header generated by "
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment