We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 549b61b commit e61db5dCopy full SHA for e61db5d
1 file changed
src/backend/dimse/wado.rs
@@ -312,7 +312,7 @@ impl<'a> DicomMultipartStream<'a> {
312
buffer,
313
"Content-Type: {}; transfer-syntax=\"{}\"\r",
314
"application/dicom",
315
- file.meta().transfer_syntax
+ file.meta().transfer_syntax.trim_end_matches('\0')
316
)?;
317
writeln!(buffer, "Content-Length: {}\r", file_length)?;
318
writeln!(buffer, "\r")?;
0 commit comments