The build breaks in 9base. It is only needed once anyway
This removes functionality we SHOULD do; TODO: fix this
}
# default: no error status page on file; use a hardcoded default
- # (why does `hoc -e` not work?)
- backtick -n -E Content-Length {
- backtick -E -i -n message_length {
- pipeline { s6-echo -n -- ${2} }
- wc -c
- }
-
- pipeline { s6-echo -- ${message_length}"*2 + 288" }
- hoc
- }
+ # TODO: Content-Length
if {
s6-echo -n -- "HTTP/1.1 "${1}" "${2}"\r
Content-Type: application/xhtml+xml; charset=utf-8\r
-Content-Length: "${Content-Length}"\r
Date: "${Date}${extra_headers}"
\r
"