23 references to ContentRange
Microsoft.AspNetCore.StaticFiles.Tests (23)
RangeHeaderTests.cs (23)
28
Assert.Equal("bytes 0-10/62", resp.Content.Headers.
ContentRange
.ToString());
51
Assert.Null(resp.Content.Headers.
ContentRange
);
70
Assert.Equal("bytes 0-10/62", resp.Content.Headers.
ContentRange
.ToString());
87
Assert.Equal("bytes 0-10/62", resp.Content.Headers.
ContentRange
.ToString());
123
Assert.Null(resp.Content.Headers.
ContentRange
);
140
Assert.Null(resp.Content.Headers.
ContentRange
);
157
Assert.Null(resp.Content.Headers.
ContentRange
);
176
Assert.Null(resp.Content.Headers.
ContentRange
);
195
Assert.Null(resp.Content.Headers.
ContentRange
);
214
Assert.Null(resp.Content.Headers.
ContentRange
);
222
Assert.Null(resp.Content.Headers.
ContentRange
);
241
Assert.Null(resp.Content.Headers.
ContentRange
);
249
Assert.Null(resp.Content.Headers.
ContentRange
);
274
Assert.NotNull(resp.Content.Headers.
ContentRange
);
275
Assert.Equal("bytes " + expectedRange + "/62", resp.Content.Headers.
ContentRange
.ToString());
295
Assert.NotNull(resp.Content.Headers.
ContentRange
);
296
Assert.Equal("bytes " + expectedRange + "/1", resp.Content.Headers.
ContentRange
.ToString());
330
Assert.Null(resp.Content.Headers.
ContentRange
);
348
Assert.Equal("bytes */62", resp.Content.Headers.
ContentRange
.ToString());
363
Assert.Null(resp.Content.Headers.
ContentRange
);
383
Assert.Null(resp.Content.Headers.
ContentRange
);
405
Assert.Null(resp.Content.Headers.
ContentRange
);
427
Assert.Null(resp.Content.Headers.
ContentRange
);