summaryrefslogtreecommitdiff
path: root/lib/haxe/src/org/apache/thrift/transport/TFullDuplexHttpClient.hx
diff options
context:
space:
mode:
Diffstat (limited to 'lib/haxe/src/org/apache/thrift/transport/TFullDuplexHttpClient.hx')
-rw-r--r--lib/haxe/src/org/apache/thrift/transport/TFullDuplexHttpClient.hx8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/haxe/src/org/apache/thrift/transport/TFullDuplexHttpClient.hx b/lib/haxe/src/org/apache/thrift/transport/TFullDuplexHttpClient.hx
index 3cd2e51d9..a4dc67189 100644
--- a/lib/haxe/src/org/apache/thrift/transport/TFullDuplexHttpClient.hx
+++ b/lib/haxe/src/org/apache/thrift/transport/TFullDuplexHttpClient.hx
@@ -192,7 +192,13 @@ import flash.events.EventDispatcher;
{
this.output = this.socket;
this.input = this.socket;
- this.output.writeUTF("CONNECT " + resource + " HTTP/1.1\n" + "Host : " + host + ":" + port + "\r\n" + "User-Agent : BattleNet\r\n" + "Transfer-Encoding : chunked\r\n" + "content-type : application/x-thrift\r\n" + "Accept : */*\r\n\r\n");
+ this.output.writeUTF( "CONNECT " + resource + " HTTP/1.1\n"
+ + "Host : " + host + ":" + port + "\r\n"
+ + "User-Agent : Thrift/Haxe\r\n"
+ + "Transfer-Encoding : chunked\r\n"
+ + "content-type : application/x-thrift\r\n"
+ + "Accept : */*\r\n"
+ + "\r\n");
this.eventDispatcher.dispatchEvent(event);
}