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

[5.x.x] Parameterise the XML-RPC parse method with the Media Type #5071

Merged

Conversation

ohumbel
Copy link
Contributor

@ohumbel ohumbel commented Sep 25, 2023

This is a cherry-pick of PR #5070 onto the develop-5.x.x branch.

The mime type that is available on the remote resource was not provided when
calling the parse() procedure on the backend and has now been added.

When calculating the mime type being stored the following order will be used:

 - mime type as given by the method call
 - mime type caclulated based on the file name extension
 - default mime type 'application/octet-stream' is used

Co-authored-by: Otmar Humbel <[email protected]>
Signed-off-by: Patrick Reinhart <[email protected]>
@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

warning The version of Java (11.0.20.1) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17.
Read more here

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@reinhapa reinhapa requested a review from adamretter September 25, 2023 16:47
Copy link
Contributor

@adamretter adamretter left a comment

Choose a reason for hiding this comment

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

LGTM

@adamretter adamretter merged commit 9aa0539 into eXist-db:develop-5.x.x Sep 25, 2023
@adamretter adamretter added the bug issue confirmed as bug label Sep 25, 2023
@adamretter adamretter added this to the eXist-5.5.2 milestone Sep 25, 2023
@ohumbel ohumbel deleted the bugfix-5.x.x/xmlrpc5067 branch January 15, 2024 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issue confirmed as bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants