1 write to Response
Microsoft.AspNetCore.StaticAssets (1)
StaticAssetsInvoker.cs (1)
273
Response
= context.Response;
11 references to Response
Microsoft.AspNetCore.StaticAssets (11)
StaticAssetsInvoker.cs (11)
97
context.
Response
.ContentType = _contentType;
119
if (context.
Response
.StatusCode == StatusCodes.Status200OK)
121
context.
Response
.StatusCode = statusCode;
194
await context.
Response
.SendFileAsync(FileInfo, 0, _length, context.CancellationToken);
212
if (requestContext.
Response
.StatusCode == StatusCodes.Status200OK)
214
requestContext.
Response
.StatusCode = StatusCodes.Status416RangeNotSatisfiable;
222
requestContext.
Response
.ContentLength = length;
224
if (requestContext.
Response
.StatusCode == StatusCodes.Status200OK)
226
requestContext.
Response
.StatusCode = StatusCodes.Status206PartialContent;
233
_logger.SendingFileRange(requestContext.
Response
.Headers.ContentRange, logPath);
234
await requestContext.
Response
.SendFileAsync(FileInfo, start, length, requestContext.CancellationToken);