Skip to content

Add application/merge-patch+json MIME type - #199

Merged
h3nr1-d14z merged 1 commit into
jenkinsci:masterfrom
Genfilf:feature/mime-type-merge-json
Sep 14, 2026
Merged

h3nr1-d14z merged 1 commit into
jenkinsci:masterfrom
Genfilf:feature/mime-type-merge-json

Conversation

@Genfilf

@Genfilf Genfilf commented Feb 28, 2025

Copy link
Copy Markdown
Contributor

Comment

Added APPLICATION_JSON_MERGE_PATCH to MimeType.java
It sets Content-Type header to application/merge-patch+json
Useful when trying to post updated data to services like Hashicorp Vault.

Testing done

mvn clean verify

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did

@Genfilf
Genfilf requested a review from a team as a code owner February 28, 2025 14:38
@h3nr1-d14z
h3nr1-d14z force-pushed the feature/mime-type-merge-json branch from eb7ef74 to 2e17454 Compare September 14, 2026 02:10
@h3nr1-d14z h3nr1-d14z changed the title Added APPLICATION_JSON_MERGE_PATCH to MimeType.java Add application/merge-patch+json MIME type Sep 14, 2026
@h3nr1-d14z

Copy link
Copy Markdown
Contributor

rebased onto master to pick up the recent HttpClient 5 changes and retitled for the changelog — the diff is still just your one-liner. running CI now, will merge once it's green.

— h3nr1-d14z

@h3nr1-d14z h3nr1-d14z left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

one enum constant, exactly what the title says — merge-patch services like Vault need this content type. thanks!

@h3nr1-d14z
h3nr1-d14z merged commit 1b9d9e9 into jenkinsci:master Sep 14, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants