IBM / java-sdk-core

Core functionality required by Java code generated by the IBM Cloud OpenAPI SDK Generator (openapi-sdkgen)
https://ibm.github.io/java-sdk-core/
Apache License 2.0
20 stars 21 forks source link

fix: recognize content types with whitespace #200

Closed dpopp07 closed 1 year ago

dpopp07 commented 1 year ago

The RFC for content-type header format allows optional whitespace before the semicolon. Our regular expressions for recognizing various mime types do not account for this, so valid mime types may not be recognized. This commit adjusts the expression to close that gap.

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

ibm-devx-sdk commented 1 year ago

:tada: This PR is included in version 9.17.6 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: