diff options
author | Aki <please@ignore.pl> | 2020-08-07 23:36:57 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2020-08-07 23:36:57 +0200 |
commit | e2e3244eee4429aef9a2fd158beeccdd5bac0b9b (patch) | |
tree | c2a0db9d0444a56bf6b0f4fb0f799a49fad44261 /phttp | |
parent | 6173beea4d496803aa40030ba6024db5fa997c4c (diff) | |
download | browse-e2e3244eee4429aef9a2fd158beeccdd5bac0b9b.zip browse-e2e3244eee4429aef9a2fd158beeccdd5bac0b9b.tar.gz browse-e2e3244eee4429aef9a2fd158beeccdd5bac0b9b.tar.bz2 |
Fixed extended mime types
Diffstat (limited to 'phttp')
-rwxr-xr-x | phttp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -15,7 +15,7 @@ get_with_arguments() { return } local META - META=$(curl -sL -w "%{content_type} %{url_effective}\n" $@ -o "$PHTTP_CACHE/files/$BASENAME") && { + META=$(curl -sL -w "\"%{content_type}\" %{url_effective}\n" $@ -o "$PHTTP_CACHE/files/$BASENAME") && { META="$(echo $META | rev | cut -d/ -f2- | rev)/" echo "$META $PHTTP_CACHE/files/$BASENAME" echo "$META" > $PHTTP_CACHE/meta/$BASENAME |