Binary Response Viewer
Rostyman automatically detects binary and media responses and renders them natively in the response panel — no configuration needed.
Supported Types
| Content Type | What You See |
|---|---|
image/png, image/jpeg, image/gif, image/webp | Image with zoom controls |
image/svg+xml | SVG preview + View Source toggle |
video/mp4, video/webm | Native video player (play/pause/seek/volume) |
audio/mpeg, audio/wav, audio/ogg | Audio player with seek bar |
application/pdf | Embedded PDF viewer |
text/csv | Interactive scrollable table |
| Any other binary | File card (type, size) + Download button |
How It Works
When the response Content-Type is a known binary or media type, the response body area switches from the text editor to the appropriate viewer automatically. No setting to enable — it just works.
Images
- Displayed at full width, up to 100% of the panel
- Zoom In / Zoom Out / Reset Zoom buttons in the toolbar
- Images larger than the panel are scrollable
- SVG files are rendered as images; click View Source to see the raw XML markup
Video
- Uses the browser's native video element
- Supports play, pause, seek, volume control, and fullscreen
- Video dimensions and duration are shown in the toolbar
Audio
- Play, pause, seek bar, and volume control
- File size and duration shown in the panel header
PDF
- Rendered using the browser's built-in PDF viewer
- Download button to save the PDF locally
CSV
- Parsed into a scrollable interactive table
- Row and column count shown in the header
- First row is treated as the column header row
Saving Binary Responses
Click Download in the response toolbar to save any binary response to disk. The filename is inferred from the Content-Disposition header or the request URL, with the correct file extension applied automatically.