We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For queries that return no results, a DICOM-web server should return http 204 (No Content). See DICOM docs here: https://dicom.nema.org/medical/dicom/current/output/chtml/part18/sect_8.3.4.4.html
This is not handled in dicomtrolley. Currently this happens:
trolley.find_studies(Query(PatientName="NonExistingPatient")) >>> dicomtrolley.exceptions.DICOMTrolleyError: Calling <server_url> failed (204 - No Content) response content was b''
Instead the exception should be caught and an empty list should be returned:
trolley.find_studies(Query(PatientName="NonExistingPatient")) []
The text was updated successfully, but these errors were encountered:
Adds failing test for #47
a4140ac
7b31333
No branches or pull requests
Description
For queries that return no results, a DICOM-web server should return http 204 (No Content). See DICOM docs here:
https://dicom.nema.org/medical/dicom/current/output/chtml/part18/sect_8.3.4.4.html
This is not handled in dicomtrolley.
Currently this happens:
Instead the exception should be caught and an empty list should be returned:
The text was updated successfully, but these errors were encountered: