Files
dokku/tests/apps/.websocket.disabled/check_deploy
2015-02-08 22:34:35 -08:00

3 lines
196 B
Bash
Executable File

#!/usr/bin/env bash
set -e; output="$(curl -s -S -i -N -H \"Connection: Upgrade\" -H \"Upgrade: websocket\" -H \"Host: $1\" -H \"Origin: $1\" $1 -m 2)"; echo $output; test "$output" == "bazingaa"