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 2018-07-03 16:25:42 +00:00
parent 348682f157
commit 52e63d6f90

View file

@ -1,9 +1,9 @@
#! /bin/bash #! /bin/bash
# Lese den request # Read the request
read header read header
# Verarbeite den request # Process the request
URL="${header#GET }" URL="${header#GET }"
URL="${URL% HTTP/*}" URL="${URL% HTTP/*}"
FILE="$FILES$URL" FILE="$FILES$URL"