Convert content based on Content-Type and format property. Uses structured if/else for Content-Type matching (Vala doesn't support string switches). Updates this.format to reflect the actual format used.
| content |
The content bytes |
| content_type |
The detected Content-Type |
|
Converted content as string |