go-httpbin
go-httpbin copied to clipboard
A reasonably complete and well-tested golang port of httpbin, with zero dependencies outside the go stdlib.
I'm planning on using go-httpbin for integration tests of an HTTP intercepting proxy. Thanks for maintaining it! I will come up with some more "exotic" feature requests and have to...
The answers between httpbin and httpbingo differ. httpbingo will always return an array for each parameter or header, while httpbin will return simple objects and use sub arrays only when...
Could you help to add a `-v` option to make httpbin output detailed request and response information (like `curl -v`)? That would make the program more useful. I searched around...
/status/1xx results in failures when tested. They are unusual codes but should be testable regardless since they are in the spec.
Hi there, I build a dumb (quick) web server like httpbin that (for the moment) mostly reply with malformed data. It was really useful to me to tests some scenarios....
The following [httpbin.org](https://httpbin.org/) features (besides `/brotli`) are not present in the library: - `now.httpbin.org The current time, in a variety of formats.` (this probably will be more useful as a...
Hi, started using your httpbin thank you for porting this work to Go! I have been having a problem when using this solution for headers. I am wondering if you...
Let's use this as a place to track compatibility with original httpbin: ### Should fix (See sub-issues for compatibility problems that should be fixed!) ### Fixed - [x] https://github.com/mccutchen/go-httpbin/pull/89 -...
It can return some env to user, like set HTTPBIN_VERSION=v1 for go-httpbin adn request /env, it can be return : ```json { "envs":{ "version":"v1" } } ```