Releases: linuxserver/docker-htpcmanager
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 [email protected]
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 [email protected]
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 [email protected]
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 [email protected]
26a641bf-ls258
CI Report:
https://ci-tests.linuxserver.io/linuxserver/htpcmanager/26a641bf-ls258/index.html
LinuxServer Changes:
Full Changelog: 26a641bf-ls257...26a641bf-ls258
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 [email protected]
26a641bf-ls257
CI Report:
https://ci-tests.linuxserver.io/linuxserver/htpcmanager/26a641bf-ls257/index.html
LinuxServer Changes:
Full Changelog: 26a641bf-ls256...26a641bf-ls257
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 [email protected]
26a641bf-ls256
CI Report:
https://ci-tests.linuxserver.io/linuxserver/htpcmanager/26a641bf-ls256/index.html
LinuxServer Changes:
Full Changelog: 26a641bf-ls255...26a641bf-ls256
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 [email protected]
26a641bf-ls255
CI Report:
https://ci-tests.linuxserver.io/linuxserver/htpcmanager/26a641bf-ls255/index.html
LinuxServer Changes:
Full Changelog: 26a641bf-ls254...26a641bf-ls255
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 [email protected]
26a641bf-ls254
CI Report:
https://ci-tests.linuxserver.io/linuxserver/htpcmanager/26a641bf-ls254/index.html
LinuxServer Changes:
Full Changelog: 26a641bf-ls253...26a641bf-ls254
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 [email protected]
26a641bf-ls253
CI Report:
https://ci-tests.linuxserver.io/linuxserver/htpcmanager/26a641bf-ls253/index.html
LinuxServer Changes:
Full Changelog: 26a641bf-ls252...26a641bf-ls253
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 [email protected]