Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base64Lines ¶
Base64Lines wraps base64 output at a given width. Long base64 strings are unreadable and break terminal rendering, so we chunk them into lines like PEM files do.
func FilenameHint ¶
FilenameHint tries to figure out a good filename for saving a response. We check multiple sources in order: 1. Content-Disposition header (server's explicit suggestion) 2. URL path (often contains the actual filename) 3. MIME type (to at least get the right extension) 4. Fall back to "response.bin" if all else fails
func HexPreview ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.