15 lines
587 B
Markdown
15 lines
587 B
Markdown
# 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.
|