Repository navigation
Releases: linuxserver/docker-htpcmanager
Release list
26a641bf-ls300
CI Report:
https://ci-tests.linuxserver.io/linuxserver/htpcmanager/26a641bf-ls300/index.html
LinuxServer Changes:
Full Changelog: 26a641bf-ls299...26a641bf-ls300
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-ls299
CI Report:
https://ci-tests.linuxserver.io/linuxserver/htpcmanager/26a641bf-ls299/index.html
LinuxServer Changes:
Full Changelog: 26a641bf-ls298...26a641bf-ls299
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-ls298
CI Report:
https://ci-tests.linuxserver.io/linuxserver/htpcmanager/26a641bf-ls298/index.html
LinuxServer Changes:
Full Changelog: 26a641bf-ls297...26a641bf-ls298
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-ls297
CI Report:
https://ci-tests.linuxserver.io/linuxserver/htpcmanager/26a641bf-ls297/index.html
LinuxServer Changes:
Full Changelog: 26a641bf-ls296...26a641bf-ls297
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-ls296
CI Report:
https://ci-tests.linuxserver.io/linuxserver/htpcmanager/26a641bf-ls296/index.html
LinuxServer Changes:
Full Changelog: 26a641bf-ls295...26a641bf-ls296
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-ls295
CI Report:
https://ci-tests.linuxserver.io/linuxserver/htpcmanager/26a641bf-ls295/index.html
LinuxServer Changes:
Full Changelog: 26a641bf-ls294...26a641bf-ls295
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-ls294
CI Report:
https://ci-tests.linuxserver.io/linuxserver/htpcmanager/26a641bf-ls294/index.html
LinuxServer Changes:
Full Changelog: 26a641bf-ls293...26a641bf-ls294
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-ls293
CI Report:
https://ci-tests.linuxserver.io/linuxserver/htpcmanager/26a641bf-ls293/index.html
LinuxServer Changes:
Full Changelog: 26a641bf-ls292...26a641bf-ls293
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-ls292
CI Report:
https://ci-tests.linuxserver.io/linuxserver/htpcmanager/26a641bf-ls292/index.html
LinuxServer Changes:
Full Changelog: 26a641bf-ls291...26a641bf-ls292
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-ls291
CI Report:
https://ci-tests.linuxserver.io/linuxserver/htpcmanager/26a641bf-ls291/index.html
LinuxServer Changes:
Full Changelog: 26a641bf-ls290...26a641bf-ls291
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