This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo off | |
Set AB=@@@@@ | |
Set AC=@ @ | |
set AD=@ @ | |
set AE=@ @ | |
set AF=@@@@@ | |
Set BB= @ | |
Set BC= @ | |
set BD= @ | |
Set BE= @ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[TCP server] Started TCP server on port 10001 | |
[TCP server] Started TCP server on port 10002 | |
[TCP server] Listening... | |
[TCP server] Listening... | |
[TCP server] Reading request... | |
[TCP server] Received request: | |
GET / HTTP/1.1 | |
Host: 127.0.0.1:10001 | |
Accept-Charset: UTF-8 | |
Accept: */* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val goodHttpResponse = "" + | |
"""HTTP/1.1 200 OK | |
Content-Type: text/plain | |
transfer-encoding: chunked | |
5 | |
hello | |
0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val goodHttpResponse = "" + | |
"""HTTP/1.1 200 OK | |
Content-Type: text/plain | |
transfer-encoding: chunked | |
5 | |
hello | |
0 | |
""" | |
val badHttpResponse = "" + |