james-proxy / james

Web Debugging Proxy Application
1.42k stars 125 forks source link

Display request/response body (Fixed tests of PR 372) #377

Closed nerdbeere closed 6 years ago

nerdbeere commented 6 years ago

Fixed the failing tests of #372 so we can get this into master.

nerdbeere commented 6 years ago

I also refactored the sections a little bit so only sections with actual content are displayed.

With the new RequestBody component we could have different visual representations based on the response mime-type. Currently it will be always displayed as text.