Make FastCGI less magical for headers
commit55289dc16f62c243ba09903bbb0652160a7b31f9
authorPaul Tarjan <ptarjan@fb.com>
Mon, 16 Dec 2013 23:31:37 +0000 (16 15:31 -0800)
committerSara Golemon <sgolemon@fb.com>
Tue, 17 Dec 2013 21:59:06 +0000 (17 13:59 -0800)
tree5562fb335f8c8a57fca5b3bbf48d78d58e199adc
parentd2e18efee779b9a4549ffe01ee5f8038a449116a
Make FastCGI less magical for headers

When I changed `getHeaders()` to be the same for fastcgi as all the other transports I didn't notice julk has put in special rules to deal with the fact they weren't the same. Rip that out.

This makes `$_SERVER` contain `HTTP_HOST` instead of just `HOST`.

Reviewed By: @sgolemon

Differential Revision: D1100779
hphp/runtime/server/http-protocol.cpp
hphp/runtime/server/http-protocol.h