vapor / http

🚀 Non-blocking, event-driven HTTP built on Swift NIO.
MIT License
238 stars 65 forks source link

Align rfc1123 header flip, remove artifacts #331

Closed grundoon closed 5 years ago

grundoon commented 5 years ago

You mean, why are you requesting http and it's returning https? Seems to be on the httpbin.org end – even a client that knows nothing of TLS (e.g. RESTed below) is getting that returned.

{
    "args": {},
    "data": "",
    "files": {},
    "form": {},
    "headers": {
        "Accept": "*/*",
        "Accept-Encoding": "gzip, deflate",
        "Accept-Language": "en-us",
        "Host": "httpbin.org",
        "User-Agent": "Rested/2009 CFNetwork/976 Darwin/18.2.0 (x86_64)"
    },
    "json": null,
    "method": "GET",
    "origin": "50.255.0.169, 50.255.0.169",
    "url": "https://httpbin.org/anything"
}
tanner0101 commented 5 years ago

Tests passing now. Is this ready to merge?

grundoon commented 5 years ago

If you're now seeing correct spacing in LinuxMain, I'd say so.

penny-coin commented 5 years ago

Hey @grundoon, you just merged a pull request, have a coin!

You now have 101 coins.