Commit a9040f88 authored by tufengqi's avatar tufengqi

常量定义修复

parent 87972f6c
...@@ -213,7 +213,6 @@ class TCurlClient extends \Thrift\Transport\TTransport ...@@ -213,7 +213,6 @@ class TCurlClient extends \Thrift\Transport\TTransport
// God, PHP really has some esoteric ways of doing simple things. // God, PHP really has some esoteric ways of doing simple things.
$host = $this->host_ . ($this->port_ != 80 ? ':' . $this->port_ : ''); $host = $this->host_ . ($this->port_ != 80 ? ':' . $this->port_ : '');
$fullUrl = $this->scheme_ . "://" . $host . $this->uri_; $fullUrl = $this->scheme_ . "://" . $host . $this->uri_;
$headers = array(); $headers = array();
$defaultHeaders = array( $defaultHeaders = array(
'Accept' => 'application/x-thrift', 'Accept' => 'application/x-thrift',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment