There was an error while loading. Please reload this page.
1 parent a9e4c42 commit d9e6d7aCopy full SHA for d9e6d7a
1 file changed
pingora-http/src/lib.rs
@@ -771,7 +771,7 @@ mod tests {
771
772
#[test]
773
fn test_single_header() {
774
- let mut req = RequestHeader::build("GET", b"\\", None).unwrap();
+ let mut req = RequestHeader::build("GET", b"/", None).unwrap();
775
req.insert_header("foo", "bar").unwrap();
776
req.insert_header("FoO", "Bar").unwrap();
777
let mut buf: Vec<u8> = vec![];
@@ -833,7 +833,7 @@ mod tests {
833
834
835
fn test_multiple_header() {
836
837
req.append_header("FoO", "Bar").unwrap();
838
req.append_header("fOO", "bar").unwrap();
839
req.append_header("BAZ", "baR").unwrap();
0 commit comments