Skip to content
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

issue 5113: Allows string support for HttpFileResponse activity #5113

Merged
merged 3 commits into from
Apr 19, 2024

Conversation

DelarreAlexis
Copy link
Contributor

@DelarreAlexis DelarreAlexis commented Mar 21, 2024

The "Http FileResponse" activity has a "Content" property which has the description "The file content to serve. Supports various types, such as byte array, stream, string, Uri, Downloadable and a (mixed) array of the aforementioned types ." Except that if I put a simple text, so just a "string", no file will be downloaded. The activity does not support string as indicated in the description of "Content"

Example :
http-file-response.json

@DelarreAlexis DelarreAlexis changed the title issue 5112: Allows string support for HttpFileResponse activity issue 5113: Allows string support for HttpFileResponse activity Mar 21, 2024
@sfmskywalker sfmskywalker self-assigned this Mar 28, 2024
Copy link
Member

@sfmskywalker sfmskywalker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@sfmskywalker
Copy link
Member

I tried to resolve the merge conflict with the main branch (which is easy), but for some reason my git client won't let me push to your fork. Perhaps you can try it on your end?

@sfmskywalker
Copy link
Member

@DelarreAlexis I'd love to take this PR in, but for some reason your fork is protected against me so I cannot push the merge commit. I created a patch that you can apply if you want: https://gitkraken.dev/link/drafts/97ff21ae-6868-40c3-8253-b7ce6cb22d33

@sfmskywalker
Copy link
Member

In case you don't have or don't want to use GitKraken, here's the patch attached:

7cb576.patch

Copy link

sonarcloud bot commented Apr 11, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@sfmskywalker sfmskywalker merged commit eb0ab15 into elsa-workflows:main Apr 19, 2024
2 checks passed
@sfmskywalker
Copy link
Member

@jeanbaptistedalle thanks for updating the branch 🙌🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants