diff options
-rwxr-xr-x | phttp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -16,6 +16,7 @@ get_with_arguments() { } local META 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 return |