Render application/xml as plain text
This commit is contained in:
parent
9e1732f8e5
commit
ed24b67802
|
@ -159,6 +159,7 @@ serve_success() {
|
|||
type=$1
|
||||
case "$type" in
|
||||
text/gemini*) render_gemini;;
|
||||
application/xml|application/*+xml) printf "Content-type: text/xml\r\n\r\n"; cat;;
|
||||
*) printf "Content-type: %s\r\n\r\n" "$type"; cat;;
|
||||
esac
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue