#!/bin/sh
# WARNING: This file was auto-generated. Do not edit!
host=${1-0}
path=${2-}
port=${3-80}
echo "GET /${path} HTTP/1.0
Host: [${host}]:${port}
" | /usr/pkg/bin/tcpclient -RHl0 -- "$host" "$port" sh -c '
  /usr/pkg/bin/addcr >&7
  exec /usr/pkg/bin/delcr <&6
' | awk '/^$/ { body=1; next } { if (body) print }'
