Commit 619152c0 authored by Marcel Nellesen's avatar Marcel Nellesen
Browse files

Included content Length (coscine/issues#1335)

parent 44f0d1a2
......@@ -223,6 +223,7 @@ namespace Coscine.Api.Blob.Controllers
try
{
var resourceTypeOptions = _resourceModel.GetResourceTypeOptions(resource.Id);
resourceTypeOptions.Add("ContentLength", Request.ContentLength.ToString());
var resourceTypeDefinition = ResourceTypeFactory.CreateResourceTypeObject(resource.Type.DisplayName, _configuration);
if (resourceTypeDefinition == null)
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment