aboutsummaryrefslogtreecommitdiff
path: root/src/http/websocket_http_client.zig
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/http/websocket_http_client.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/http/websocket_http_client.zig b/src/http/websocket_http_client.zig
index 2d7ddf47b..24aeaf472 100644
--- a/src/http/websocket_http_client.zig
+++ b/src/http/websocket_http_client.zig
@@ -51,8 +51,8 @@ fn buildRequestBody(vm: *JSC.VirtualMachine, pathname: *const JSC.ZigString, hos
const pico_headers = PicoHTTP.Headers{ .headers = headers_ };
return try std.fmt.allocPrint(
allocator,
- "GET {any} HTTP/1.1\r\n" ++
- "Host: {any}\r\n" ++
+ "GET {s} HTTP/1.1\r\n" ++
+ "Host: {s}\r\n" ++
"Pragma: no-cache\r\n" ++
"Cache-Control: no-cache\r\n" ++
"Connection: Upgrade\r\n" ++
@@ -978,7 +978,7 @@ pub fn NewWebSocketClient(comptime ssl: bool) type {
var header_bytes: [@sizeOf(usize)]u8 = [_]u8{0} ** @sizeOf(usize);
while (true) {
- log("onData ({any})", .{@tagName(receive_state)});
+ log("onData ({s})", .{@tagName(receive_state)});
switch (receive_state) {
// 0 1 2 3