diff options
author | Andreas Gohr <andi@splitbrain.org> | 2014-07-28 19:01:42 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2014-07-28 19:01:42 +0200 |
commit | 5aca1d54db0f056fec97a36487b09ebf0a864ed3 (patch) | |
tree | ff068a5c9976acb88172b541b1c29e36930cb4aa /inc | |
parent | 3fa3e2f0d3e20ff21c762fa8e5130b9e6d3e30f0 (diff) | |
download | rpg-5aca1d54db0f056fec97a36487b09ebf0a864ed3.tar.gz rpg-5aca1d54db0f056fec97a36487b09ebf0a864ed3.tar.bz2 |
HTTPClient don't omit headers with value 0
Diffstat (limited to 'inc')
-rw-r--r-- | inc/HTTPClient.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/HTTPClient.php b/inc/HTTPClient.php index 6ac67f159..cd4c7c4c5 100644 --- a/inc/HTTPClient.php +++ b/inc/HTTPClient.php @@ -808,7 +808,7 @@ class HTTPClient { function _buildHeaders($headers){ $string = ''; foreach($headers as $key => $value){ - if(empty($value)) continue; + if($value === '') continue; $string .= $key.': '.$value.HTTP_NL; } return $string; |