IBM / go-sdk-core

The go-sdk-core repository contains core functionality required by Go code generated by the IBM OpenAPI SDK Generator.
Apache License 2.0
30 stars 24 forks source link

fix(utils): recognize content types with whitespace #181

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.

ibm-devx-sdk commented 1 year ago

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

The release is available on GitHub release

Your semantic-release bot :package::rocket: