-
-
Notifications
You must be signed in to change notification settings - Fork 582
Closed
Labels
Milestone
Description
Generic text responses that cannot be identified (text mime-type or no mime-type but ending with, e.g., .txt) should not be parsed by any parser. Instead, an HtmlDocument should be created with content similar to the following:
<html>
<head></head>
<body>
<pre style="word-wrap: break-word; white-space: pre-wrap;">
<!-- insert response here -->
</pre>
</body>
</html>The response is just inserted into this structure allowing renderers to display it accordingly and leaving the transported content unchanged otherwise.