Files
httplog/README.md

15 lines
587 B
Markdown
Raw Permalink Normal View History

2025-09-01 14:58:18 -04:00
# Golang HTTP Logging Utilities
Provides several utilities for logging http requests and responses.
This package isn't well tested, and could benefit from several convenience features.
Particularly, I think it would be nice to have:
* Decompressing based on the `Content-Encoding` header so that it's readable.
* Formatting binary data as a hex dump.
* Reformatting JSON content with indentation and newlines to make it more readable.
* Stylizing text, to better distinguish headers keys, values, and content bodies.
I don't recommend holding your breath for any of that to happen.