<div dir="ltr"><div>I just found an interesting behavior in Nginx while looking at a reqeust that was causing an error in my code.</div><div><br></div><div style>For a request with no HTTP/xx version, Nginx will return no HTTP response headers.</div>
<div style><br></div><div style>From what I gathered, this is just Nginx defaulting to HTTP/0.9, where no headers are expected. And actually doing the right thing here.</div><div style><br></div><div style>But shouldn't $server_protocol default to HTTP/0.9 in that case, instead of being an empty string ?</div>
</div>