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