Fix overwriting of appended request headers (#493)
* don't overwrite appended user headers * Fixes tests, all header ordering related * does not need to clone default headers, added a test
This commit is contained in:
committed by
Sean McArthur
parent
38ea6a2d3c
commit
77434a29aa
@@ -59,9 +59,9 @@ fn async_test_multipart() {
|
||||
let server = server! {
|
||||
request: format!("\
|
||||
POST /multipart/1 HTTP/1.1\r\n\
|
||||
content-type: multipart/form-data; boundary={}\r\n\
|
||||
user-agent: $USERAGENT\r\n\
|
||||
accept: */*\r\n\
|
||||
content-type: multipart/form-data; boundary={}\r\n\
|
||||
accept-encoding: gzip\r\n\
|
||||
host: $HOST\r\n\
|
||||
transfer-encoding: chunked\r\n\
|
||||
|
||||
Reference in New Issue
Block a user