Convert content based on Content-Type and format property. Uses structured if/else for Content-Type matching (Vala doesn't support string switches). Sets this.result_format to the actual result type: markdown, html, json, text, or base64.
| content |
The content bytes |
| content_type |
The detected Content-Type |
|
Converted content as string |