Kreya icon indicating copy to clipboard operation
Kreya copied to clipboard

Custom Content-type not formatted correctly

Open marudor opened this issue 1 year ago • 1 comments

Describe the bug Currently kreya does not format responses if they use a custom content-type (with a suffix based on RFC 6839)

To Reproduce Get a response that has a custom content-type with a +json suffix to inidcate structure

Expected behavior Kreya should format ist based on the suffix

Environment (if possible, copy the information from the error dialog or the About menu):

  • OS: macOS 14.3.1
  • Kreya Version 1.13.0

Additional context My exact example is a response that has "application/vnd.de.db.ris+json" as "Content-Type" Header. The +json indicates that it is a json and should be formatted like one. The same response with a "application/json" header is formatted correctly.

marudor avatar Feb 12 '24 14:02 marudor

Thanks for your bug report, we'll fix this in the next release.

CommonGuy avatar Feb 12 '24 14:02 CommonGuy

A fix for this has been implemented and was released with the newest beta release. It will be included in the next stable version.

CommonGuy avatar Mar 13 '24 14:03 CommonGuy

Kreya 1.14 has been released

CommonGuy avatar Apr 18 '24 07:04 CommonGuy