Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.0.1
-
Fix Version/s: Backlog
-
Component/s: repository interface
-
Labels:None
Description
As seen in MRM-755, when working with Websphere, the content-type header is required.
Currently, the codebase will only provide mime-type / content-type based on extensions found in the mime-types.txt file.
We should default the mime-type for those types not found.
The suggestion to use octet-stream as the default was raised in the #archiva irc channel.
Issue Links
- is related to
-
PLXCOMP-103
Content Type is set to null, when mime type is unknown
-
-
MRM-755
No content type for .pom files denoted in file "archiva-mime-types.txt" - workaround included
-
-
MRM-756
make content-disposition header customisable for some mime-types
-
I suggested a patch in PLXCOMP-103 for this issue.
That is, don't send the content type header field if the content type is not known.