Releases: linuxserver/docker-htpcmanager
Release list
26a641bf-ls287
CI Report:
https://ci-tests.linuxserver.io/linuxserver/htpcmanager/26a641bf-ls287/index.html
LinuxServer Changes:
Full Changelog: 26a641bf-ls286...26a641bf-ls287
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-ls286
CI Report:
https://ci-tests.linuxserver.io/linuxserver/htpcmanager/26a641bf-ls286/index.html
LinuxServer Changes:
Full Changelog: 26a641bf-ls285...26a641bf-ls286
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-ls285
CI Report:
https://ci-tests.linuxserver.io/linuxserver/htpcmanager/26a641bf-ls285/index.html
LinuxServer Changes:
Full Changelog: 26a641bf-ls284...26a641bf-ls285
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-ls284
CI Report:
https://ci-tests.linuxserver.io/linuxserver/htpcmanager/26a641bf-ls284/index.html
LinuxServer Changes:
Full Changelog: 26a641bf-ls283...26a641bf-ls284
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-ls283
CI Report:
https://ci-tests.linuxserver.io/linuxserver/htpcmanager/26a641bf-ls283/index.html
LinuxServer Changes:
Full Changelog: 26a641bf-ls282...26a641bf-ls283
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-ls282
CI Report:
https://ci-tests.linuxserver.io/linuxserver/htpcmanager/26a641bf-ls282/index.html
LinuxServer Changes:
Full Changelog: 26a641bf-ls281...26a641bf-ls282
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-ls281
CI Report:
https://ci-tests.linuxserver.io/linuxserver/htpcmanager/26a641bf-ls281/index.html
LinuxServer Changes:
Full Changelog: 26a641bf-ls280...26a641bf-ls281
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-ls280
CI Report:
https://ci-tests.linuxserver.io/linuxserver/htpcmanager/26a641bf-ls280/index.html
LinuxServer Changes:
Full Changelog: 26a641bf-ls279...26a641bf-ls280
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-ls279
CI Report:
https://ci-tests.linuxserver.io/linuxserver/htpcmanager/26a641bf-ls279/index.html
LinuxServer Changes:
Full Changelog: 26a641bf-ls278...26a641bf-ls279
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-ls278
CI Report:
https://ci-tests.linuxserver.io/linuxserver/htpcmanager/26a641bf-ls278/index.html
LinuxServer Changes:
Full Changelog: 26a641bf-ls277...26a641bf-ls278
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