Commit e91a1cec authored by Nugine's avatar Nugine
Browse files

s3s: http: keep_alive_body: fix test

parent 15d0f29a
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -156,6 +156,9 @@ mod tests {

        let buf = aggregated.to_bytes();

        assert_eq!(buf, b"     hello world".as_slice());
        let ans1 = b"     hello world";
        let ans2 = b"    hello world";

        assert!(buf.as_ref() == ans1 || buf.as_ref() == ans2, "buf: {buf:?}");
    }
}
+1 −1
Original line number Diff line number Diff line
@@ -4,8 +4,8 @@ use super::Response;
use crate::dto::SelectObjectContentEventStream;
use crate::dto::{Metadata, StreamingBlob, Timestamp, TimestampFormat};
use crate::error::{S3Error, S3Result};
use crate::http::{HeaderName, HeaderValue};
use crate::http::KeepAliveBody;
use crate::http::{HeaderName, HeaderValue};
use crate::utils::format::fmt_timestamp;
use crate::xml;
use crate::StdError;