Example #1
0
 public void Location_UseAddMethodWithInvalidValue_InvalidValueRecognized()
 {
     headers.TryAddWithoutValidation("Location", " http://example.com http://other");
     Assert.Null(headers.GetParsedValues("Location"));
     Assert.Equal(1, headers.GetValues("Location").Count());
     Assert.Equal(" http://example.com http://other", headers.GetValues("Location").First());
 }