EllisLab/CodeIgniter — pull request #1851 by daniel-honestempire (2012-10-04 20:11:03+00:00)
Title: DRY determining server protocol

Removed the condition that checks `$server_protocol` and instead output the value directly into the `header()` function. This also makes the function compatible with HTTPS as well as HTTP.

Signed-off-by: Daniel Morris