Skip to content
Snippets Groups Projects
Commit 82e1432c authored by Andreas Gohr's avatar Andreas Gohr
Browse files

Merge branch 'master' of http://github.com/alice-wl/dokuwiki

parents d9bdb92c 939a27d3
No related merge requests found
......@@ -244,6 +244,7 @@ class HTTPClient {
// prepare headers
$headers = $this->headers;
$headers['Host'] = $uri['host'];
if($uri['port']) $headers['Host'].= ':'.$uri['port'];
$headers['User-Agent'] = $this->agent;
$headers['Referer'] = $this->referer;
$headers['Connection'] = 'Close';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment