Merging PHP transport changes from www trunk to thrift trunk
Summary: Some empty() fixes, plus a few other socket helpers
Reviewed By: lucas
Test Plan: Use the transports to make IPC calls!
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665331 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/php/src/transport/THttpClient.php b/lib/php/src/transport/THttpClient.php
index 06cf9d8..d5d03c4 100644
--- a/lib/php/src/transport/THttpClient.php
+++ b/lib/php/src/transport/THttpClient.php
@@ -159,7 +159,7 @@
'User-Agent: PHP/THttpClient',
'Content-Type: application/x-thrift',
'Content-Length: '.strlen($this->buf_));
-
+
$options = array('method' => 'POST',
'header' => implode("\r\n", $headers),
'max_redirects' => 1,