This commit is contained in:
ed 2021-03-27 02:08:07 +01:00
parent d09ec6feaa
commit 3b354447b0
3 changed files with 7 additions and 5 deletions

View file

@ -72,7 +72,7 @@ you may also want these, especially on servers:
* ☑ symlink/discard existing files (content-matching)
* download
* ☑ single files in browser
* ☑ folders as zip files *(not in release yet)*
* ☑ folders as zip / tar files
* ☑ FUSE client (read-only)
* browser
* ☑ tree-view

View file

@ -1,8 +1,8 @@
# coding: utf-8
VERSION = (0, 9, 13)
CODENAME = "the strongest music server"
BUILD_DT = (2021, 3, 23)
VERSION = (0, 10, 0)
CODENAME = "zip it"
BUILD_DT = (2021, 3, 27)
S_VERSION = ".".join(map(str, VERSION))
S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT)

View file

@ -161,7 +161,9 @@ class HttpCli(object):
try:
# self.log("pebkac at httpcli.run #2: " + repr(ex))
self.keepalive = self._check_nonfatal(ex)
self.loud_reply("{}: {}".format(str(ex), self.vpath), status=ex.code)
self.log("{}\033[0m: {}".format(str(ex), self.vpath), 3)
msg = "<pre>{}: {}\r\n".format(str(ex), self.vpath)
self.reply(msg.encode("utf-8", "replace"), status=ex.code)
return self.keepalive
except Pebkac:
return False