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:
parent
4fe554144d
commit
a5bb96f14f
1 changed files with 4 additions and 1 deletions
|
@ -3,7 +3,10 @@
|
|||
# Standard-URL
|
||||
export URL='/'
|
||||
|
||||
# Lese den request
|
||||
read $request
|
||||
|
||||
# Verarbeite den request
|
||||
URL="${header#GET }"
|
||||
URL="${request#GET }"
|
||||
URL="${URL% HTTP/*}"
|
||||
export FILE="$FILES$URL"
|
||||
|
|
Loading…
Add table
Reference in a new issue