Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Coscine
backend
apis
BlobApi
Commits
619152c0
Commit
619152c0
authored
Mar 01, 2021
by
Marcel Nellesen
Browse files
Included content Length (coscine/issues#1335)
parent
44f0d1a2
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/Blob/Controllers/BlobController.cs
View file @
619152c0
...
...
@@ -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
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment