예제 #1
0
 public void RetryAfter_RetryHeader_100()
 {
     var headers = new HttpResponseMessage().Headers;
     headers.Add("Retry-After", "100");
     var response = new FitbitResponse<string>((HttpStatusCode)429, headers, null);
     Assert.AreEqual(100, response.RetryAfter());
 }