Adjust http10/http11 usage

This commit is contained in:
Gea-Suan Lin
2012-07-03 16:05:13 +08:00
parent 4453934829
commit 30d056e006

View File

@@ -33,13 +33,13 @@ export PERL_CPANM_OPT="--mirror http://cpan.nctu.edu.tw/ --mirror http://cpan.cp
#
function http10()
{
echo "GET $1 HTTP/1.0"
echo "$1 $2 HTTP/1.0"
echo ""
}
function http11()
{
echo "GET $1 HTTP/1.1"
echo "$1 $3 HTTP/1.1"
echo "Host: $2"
echo ""
}