svn path=/trunk/; revision=40
debug "_GET[$key] => $val"
done
debug "_GET[$key] => $val"
done
-if [ "$REQUEST_METHOD" = POST -a "$HTTP_CONTENT_LENGTH" -gt 0 ]; then
+if [ "$REQUEST_METHOD" = POST -a "${HTTP_CONTENT_LENGTH:=$CONTENT_LENGTH}" -gt 0 ]; then
# parse HTTP POST string
debug "== CGI DATA: POST =="
head -c "$HTTP_CONTENT_LENGTH" \
# parse HTTP POST string
debug "== CGI DATA: POST =="
head -c "$HTTP_CONTENT_LENGTH" \