Exemple #1
0
 public void HttpHelperContentLength_GetHeaderContentLength()
 {
     Assert.AreEqual(13, HttpHelperContentLength.GetHeaderContentLength(_response, 0, _response.Length));
 }
Exemple #2
0
 public void HttpHelperContentLength_GetResponseLength()
 {
     Assert.AreEqual(132, HttpHelperContentLength.GetResponseLength(_response.Span));
 }
Exemple #3
0
 public void GetHeaderContentLength() => HttpHelperContentLength.GetHeaderContentLength(_responseContentLength.Span);