summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/POE/Component/Client/WebSocket.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/POE/Component/Client/WebSocket.pm b/lib/POE/Component/Client/WebSocket.pm
index a78ba2e..e428672 100644
--- a/lib/POE/Component/Client/WebSocket.pm
+++ b/lib/POE/Component/Client/WebSocket.pm
@@ -467,7 +467,7 @@ sub _socket_birth {
$heap->{httpresp} = 1;
# Send the request to the server
- $heap->{wheel}->put($request->as_string());
+ $heap->{wheel}->put($request->as_string("\r\n"));
# Incase we want to investigate what we sent later.
$heap->{_state}->{req} = $request;