Merge pull request #218 from knight42/default-headers

Setting default headers
This commit is contained in:
Sean McArthur
2017-10-26 14:22:29 -07:00
committed by GitHub
8 changed files with 200 additions and 29 deletions

View File

@@ -22,10 +22,10 @@ fn test_multipart() {
request: format!("\
POST /multipart/1 HTTP/1.1\r\n\
Host: $HOST\r\n\
Content-Type: multipart/form-data; boundary={}\r\n\
Content-Length: 123\r\n\
User-Agent: $USERAGENT\r\n\
Accept: */*\r\n\
Content-Type: multipart/form-data; boundary={}\r\n\
Content-Length: 123\r\n\
Accept-Encoding: gzip\r\n\
\r\n\
{}\