Closed mr-cloud closed 2 years ago
Reproduced with requests.get("https://httpbin.org/headers")
{
"headers": {
"Accept": "*/*",
"Accept-Encoding": "gzip, deflate",
"Cache-Control": "no-cache",
"Cookie": "",
"Host": "httpbin.org",
"Pragma": "no-cache",
"User-Agent": "requests-scala"
}
}
Original Author:Magua
If i send this request:
requests.get("http://localhost:9001/toggle/12345")
nc reports this:
The empty Cookie header seems to be out of spec: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cookie and Akka-http doesn't like it either.
Adding a fake cookie makes Akka-http happier. ID: 33 Original Author: marklister link: Original Link