Skip to content

Commit

Permalink
#232 - removing the X-Powered-By header from all responses
Browse files Browse the repository at this point in the history
  • Loading branch information
alphadevx committed Jul 24, 2016
1 parent c8d3604 commit 87e34d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Alpha/Util/Http/Response.php
Expand Up @@ -370,6 +370,8 @@ public function send()
header($header.': '.$value);
}

header_remove('X-Powered-By');

if (isset($this->body)) {
header('Content-Length: '.$this->getContentLength());
echo $this->body;
Expand Down

0 comments on commit 87e34d4

Please sign in to comment.