Skip to content
New issue

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

Stowrs chunked request #74

Merged
merged 4 commits into from
May 30, 2024
Merged

Stowrs chunked request #74

merged 4 commits into from
May 30, 2024

Conversation

hummerichsander
Copy link
Collaborator

Chunked STOW-RS upload

  • New parser to handle chunked HTTP requests in STOW-RS view: The StowMultipartApplicationDicomParser now loads the uploaded datasets in chunks into memory and saves them individually once a dataset is fully read.
  • ChunkedHTTPRequestMiddleware sets the CONTENT_LENGTH attribute of request.META to 1 for chunked HTTP requests. This is makes it possible that the Parser is also correctly used for chunked HTTP requests.
  • Updated STOW-RS view response object: If the study_url arg is specified, the response dataset will have a top-level (study-level) RetrieveURL tag. Otherwise, only series level retrival urls are returned for the instances in the ReferencedSOPSequence.

@medihack medihack merged commit 7973d66 into main May 30, 2024
1 check passed
@medihack medihack deleted the stowrs_chunked_request branch May 30, 2024 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants