1
0
Fork 0
mirror of https://gitlab.com/niansa/simpsh-httpd.git synced 2025-03-06 20:53:36 +01:00

Update readrequest.sh

This commit is contained in:
niansa 2017-03-09 10:41:14 +01:00 committed by GitHub
parent 4fe554144d
commit a5bb96f14f

View file

@ -3,7 +3,10 @@
# Standard-URL # Standard-URL
export URL='/' export URL='/'
# Lese den request
read $request
# Verarbeite den request # Verarbeite den request
URL="${header#GET }" URL="${request#GET }"
URL="${URL% HTTP/*}" URL="${URL% HTTP/*}"
export FILE="$FILES$URL" export FILE="$FILES$URL"