New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New blocktype HttpExtractor (UAC-09 of #123) #134
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please do not introduce new required attributes for the HTTPExtractor. Once you have removed these, this PR is fine to merge. Consider fixing the codestyle issues I raised as well though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
implemented feedback
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
implemented all requested changes
@@ -58,10 +58,10 @@ export class ArchiveInterpreterExecutor extends BlockExecutor< | |||
// Filename without ext and dot | |||
const fileName = path.basename(archivedObject.name, extName); | |||
const mimeType = | |||
inferMimeTypeFromFileExtension(extName) || | |||
inferMimeTypeFromString(extName) || |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FromFileExtension
, it's not a random string ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will shipp this via the next PR
Introduces a new blocktype
HttpExtractor
Part of RFC0002 mobility-extension.
Implements following UACs of #123:
HttpExtractor
is implemented in std-extension.I was not sure, how to register the new Block properly, so i will register it later.
Minor changes besides: