rbfang / chrome-rest-client

Automatically exported from code.google.com/p/chrome-rest-client
0 stars 0 forks source link

Auto Format for HTML No Longer works #106

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Send in a request that returns a block of HTML in the response.

What is the expected output? What do you see instead?
In the previous version of the plugin, the HTML was automatically rendered in 
the response window.  With the latest version, all i see is the raw HTML test.

On what operating system?
Windows 7

Please provide any additional information below.
Google Chrome browser

Original issue reported on code.google.com by StephenM...@gmail.com on 8 Nov 2012 at 8:59

GoogleCodeExporter commented 9 years ago
Hi. Thanks for issue report.
Do you see any error message in chrome inspector console output? Syntax 
highlighting is supported by codemirror library. However, it working properly 
in my test machine. Maybe you can provide some additional information?

Original comment by jarro...@gmail.com on 8 Nov 2012 at 9:20

GoogleCodeExporter commented 9 years ago
Sorry- I don't see any errors or interesting output in the chrome inspector 
console.

Original comment by StephenM...@gmail.com on 12 Nov 2012 at 4:56

GoogleCodeExporter commented 9 years ago
And you sure, that "Parsed" tab is opened? Maybe the app recognized some other 
content type and try to parse as something else? Can you please give me content 
type header of the response and at least part of payload? I'll try to reproduce 
the problem.

Original comment by jarro...@gmail.com on 12 Nov 2012 at 5:20

GoogleCodeExporter commented 9 years ago
for me, content type header of the response was application/json, but the error 
contained some html code (php notices from dev env) and therefore the parsing 
failed. It would have been nice to have another 'custom' tab like 'preview as 
HTML' to solve this issue.

Original comment by le...@rosterplus.com.au on 19 Dec 2012 at 10:36