Created
March 15, 2023 11:08
-
-
Save bfontaine/a84f9f95f35f968dbf9957757ca38835 to your computer and use it in GitHub Desktop.
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
HTTP/1.1 200 | |
content-type: text/plain | |
vary: Accept-Encoding | |
x-request-id: ctes5cd3wt8tjd45cj9c99z1eh | |
x-version-id: 7.5.2.7.5.2.6eded827d979ba5811e115a0dba170de.false | |
content-length: 2 | |
date: Wed, 15 Mar 2023 10:39:17 GMT | |
ok |
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
HTTP/1.1 200 | |
content-type: text/html | |
vary: Accept-Encoding | |
x-request-id: ctes5cd3wt8tjd45cj9c99z1eh | |
x-version-id: 7.5.2.7.5.2.6eded827d979ba5811e115a0dba170de.false | |
content-length: 2 | |
date: Wed, 15 Mar 2023 10:39:17 GMT | |
ok |
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
#!/bin/sh | |
while true | |
do | |
echo 'Now serving html' | |
cat response | nc -Nl 1234 >/dev/null | |
echo 'Done.' | |
echo 'Now serving text' | |
cat mattermost-response | nc -Nl 1234 >/dev/null | |
echo 'Done.' | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment