Releases: linuxserver/docker-htpcmanager
26a641bf-ls268
CI Report:
https://ci-tests.linuxserver.io/linuxserver/htpcmanager/26a641bf-ls268/index.html
LinuxServer Changes:
Full Changelog: 26a641bf-ls267...26a641bf-ls268
Remote Changes:
Replace imghdr with filetype (#66)
imghdr has been removed from Python standard library with v3.13. filetype is a slim replacement. As a little bonus, it can return the valid MIME type for network response, while imghdr returns the the type as extension only.
A builtin replacement would be mimetypes, but it returns the MIME type from file extension, hence does not work with the extension is not present or correct. filetype obtains the type from actual file content, like imghdr used to do.
We could make it conditional, keep using imghdr if present, but that would IMO bload the code unnecessarily, and as said, the method actually returned an invalid MIME type to the network client, as long as cherrypy did not internally convert extension to MIME type.
Signed-off-by: MichaIng micha@dietpi.com
26a641bf-ls267
CI Report:
https://ci-tests.linuxserver.io/linuxserver/htpcmanager/26a641bf-ls267/index.html
LinuxServer Changes:
Full Changelog: 26a641bf-ls266...26a641bf-ls267
Remote Changes:
Replace imghdr with filetype (#66)
imghdr has been removed from Python standard library with v3.13. filetype is a slim replacement. As a little bonus, it can return the valid MIME type for network response, while imghdr returns the the type as extension only.
A builtin replacement would be mimetypes, but it returns the MIME type from file extension, hence does not work with the extension is not present or correct. filetype obtains the type from actual file content, like imghdr used to do.
We could make it conditional, keep using imghdr if present, but that would IMO bload the code unnecessarily, and as said, the method actually returned an invalid MIME type to the network client, as long as cherrypy did not internally convert extension to MIME type.
Signed-off-by: MichaIng micha@dietpi.com
26a641bf-ls266
CI Report:
https://ci-tests.linuxserver.io/linuxserver/htpcmanager/26a641bf-ls266/index.html
LinuxServer Changes:
Full Changelog: 26a641bf-ls265...26a641bf-ls266
Remote Changes:
Replace imghdr with filetype (#66)
imghdr has been removed from Python standard library with v3.13. filetype is a slim replacement. As a little bonus, it can return the valid MIME type for network response, while imghdr returns the the type as extension only.
A builtin replacement would be mimetypes, but it returns the MIME type from file extension, hence does not work with the extension is not present or correct. filetype obtains the type from actual file content, like imghdr used to do.
We could make it conditional, keep using imghdr if present, but that would IMO bload the code unnecessarily, and as said, the method actually returned an invalid MIME type to the network client, as long as cherrypy did not internally convert extension to MIME type.
Signed-off-by: MichaIng micha@dietpi.com
26a641bf-ls265
CI Report:
https://ci-tests.linuxserver.io/linuxserver/htpcmanager/26a641bf-ls265/index.html
LinuxServer Changes:
Full Changelog: 26a641bf-ls264...26a641bf-ls265
Remote Changes:
Replace imghdr with filetype (#66)
imghdr has been removed from Python standard library with v3.13. filetype is a slim replacement. As a little bonus, it can return the valid MIME type for network response, while imghdr returns the the type as extension only.
A builtin replacement would be mimetypes, but it returns the MIME type from file extension, hence does not work with the extension is not present or correct. filetype obtains the type from actual file content, like imghdr used to do.
We could make it conditional, keep using imghdr if present, but that would IMO bload the code unnecessarily, and as said, the method actually returned an invalid MIME type to the network client, as long as cherrypy did not internally convert extension to MIME type.
Signed-off-by: MichaIng micha@dietpi.com
26a641bf-ls264
CI Report:
https://ci-tests.linuxserver.io/linuxserver/htpcmanager/26a641bf-ls264/index.html
LinuxServer Changes:
Full Changelog: 26a641bf-ls263...26a641bf-ls264
Remote Changes:
Replace imghdr with filetype (#66)
imghdr has been removed from Python standard library with v3.13. filetype is a slim replacement. As a little bonus, it can return the valid MIME type for network response, while imghdr returns the the type as extension only.
A builtin replacement would be mimetypes, but it returns the MIME type from file extension, hence does not work with the extension is not present or correct. filetype obtains the type from actual file content, like imghdr used to do.
We could make it conditional, keep using imghdr if present, but that would IMO bload the code unnecessarily, and as said, the method actually returned an invalid MIME type to the network client, as long as cherrypy did not internally convert extension to MIME type.
Signed-off-by: MichaIng micha@dietpi.com
26a641bf-ls263
CI Report:
https://ci-tests.linuxserver.io/linuxserver/htpcmanager/26a641bf-ls263/index.html
LinuxServer Changes:
Full Changelog: 26a641bf-ls262...26a641bf-ls263
Remote Changes:
Replace imghdr with filetype (#66)
imghdr has been removed from Python standard library with v3.13. filetype is a slim replacement. As a little bonus, it can return the valid MIME type for network response, while imghdr returns the the type as extension only.
A builtin replacement would be mimetypes, but it returns the MIME type from file extension, hence does not work with the extension is not present or correct. filetype obtains the type from actual file content, like imghdr used to do.
We could make it conditional, keep using imghdr if present, but that would IMO bload the code unnecessarily, and as said, the method actually returned an invalid MIME type to the network client, as long as cherrypy did not internally convert extension to MIME type.
Signed-off-by: MichaIng micha@dietpi.com
26a641bf-ls262
CI Report:
https://ci-tests.linuxserver.io/linuxserver/htpcmanager/26a641bf-ls262/index.html
LinuxServer Changes:
Full Changelog: 26a641bf-ls261...26a641bf-ls262
Remote Changes:
Replace imghdr with filetype (#66)
imghdr has been removed from Python standard library with v3.13. filetype is a slim replacement. As a little bonus, it can return the valid MIME type for network response, while imghdr returns the the type as extension only.
A builtin replacement would be mimetypes, but it returns the MIME type from file extension, hence does not work with the extension is not present or correct. filetype obtains the type from actual file content, like imghdr used to do.
We could make it conditional, keep using imghdr if present, but that would IMO bload the code unnecessarily, and as said, the method actually returned an invalid MIME type to the network client, as long as cherrypy did not internally convert extension to MIME type.
Signed-off-by: MichaIng micha@dietpi.com
26a641bf-ls261
CI Report:
https://ci-tests.linuxserver.io/linuxserver/htpcmanager/26a641bf-ls261/index.html
LinuxServer Changes:
Full Changelog: 26a641bf-ls260...26a641bf-ls261
Remote Changes:
Replace imghdr with filetype (#66)
imghdr has been removed from Python standard library with v3.13. filetype is a slim replacement. As a little bonus, it can return the valid MIME type for network response, while imghdr returns the the type as extension only.
A builtin replacement would be mimetypes, but it returns the MIME type from file extension, hence does not work with the extension is not present or correct. filetype obtains the type from actual file content, like imghdr used to do.
We could make it conditional, keep using imghdr if present, but that would IMO bload the code unnecessarily, and as said, the method actually returned an invalid MIME type to the network client, as long as cherrypy did not internally convert extension to MIME type.
Signed-off-by: MichaIng micha@dietpi.com
26a641bf-ls260
CI Report:
https://ci-tests.linuxserver.io/linuxserver/htpcmanager/26a641bf-ls260/index.html
LinuxServer Changes:
Full Changelog: 26a641bf-ls259...26a641bf-ls260
Remote Changes:
Replace imghdr with filetype (#66)
imghdr has been removed from Python standard library with v3.13. filetype is a slim replacement. As a little bonus, it can return the valid MIME type for network response, while imghdr returns the the type as extension only.
A builtin replacement would be mimetypes, but it returns the MIME type from file extension, hence does not work with the extension is not present or correct. filetype obtains the type from actual file content, like imghdr used to do.
We could make it conditional, keep using imghdr if present, but that would IMO bload the code unnecessarily, and as said, the method actually returned an invalid MIME type to the network client, as long as cherrypy did not internally convert extension to MIME type.
Signed-off-by: MichaIng micha@dietpi.com
26a641bf-ls259
CI Report:
https://ci-tests.linuxserver.io/linuxserver/htpcmanager/26a641bf-ls259/index.html
LinuxServer Changes:
Full Changelog: 26a641bf-ls258...26a641bf-ls259
Remote Changes:
Replace imghdr with filetype (#66)
imghdr has been removed from Python standard library with v3.13. filetype is a slim replacement. As a little bonus, it can return the valid MIME type for network response, while imghdr returns the the type as extension only.
A builtin replacement would be mimetypes, but it returns the MIME type from file extension, hence does not work with the extension is not present or correct. filetype obtains the type from actual file content, like imghdr used to do.
We could make it conditional, keep using imghdr if present, but that would IMO bload the code unnecessarily, and as said, the method actually returned an invalid MIME type to the network client, as long as cherrypy did not internally convert extension to MIME type.
Signed-off-by: MichaIng micha@dietpi.com