Mercurial > hg > orthanc
view Resources/Samples/Lua/TransferSyntaxDisable.lua @ 3700:5cbbf14e516b
Fix issue #103 ("queries/.../retrieve" API returns HTTP code 200 even on server errors)
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 26 Feb 2020 13:21:41 +0100 |
parents | fa3ff492fb3b |
children |
line wrap: on
line source
function IsDeflatedTransferSyntaxAccepted(aet, ip) return false end function IsJpegTransferSyntaxAccepted(aet, ip) return false end function IsJpeg2000TransferSyntaxAccepted(aet, ip) return false end function IsJpegLosslessTransferSyntaxAccepted(aet, ip) return false end function IsJpipTransferSyntaxAccepted(aet, ip) return false end function IsMpeg2TransferSyntaxAccepted(aet, ip) return false end function IsMpeg4TransferSyntaxAccepted(aet, ip) return false end function IsRleTransferSyntaxAccepted(aet, ip) return false end function IsUnknownSopClassAccepted(aet, ip) return false end print('All special transfer syntaxes are now disallowed')