-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add /brotli endpoint #20
Conversation
Parity with http://httpbin.org/
Thanks for the PR, it looks good to me. So far we managed to keep this package vanilla-Go. This would be the first dependency that we accept. I'm not entirely sure if we should start doing this. Do you have use case or do you think there's enough demand for |
I want to add Brotli testing to compy to verify some behavior in barnacs/compy#47 and backfill our coverage. We currently use go-httpbin since this integrates most readily but I suppose we could stub out some tests which run against the httpbin.org service. I appreciate that taking a C dependency would impose a new requirement on all users and if this scopes out of the project currently I will understand. |
Can you potentially use If all you're testing is |
This seems like a good workaround if this PR doesn't merge. However, we do use go-httpbin for all our other tests so it would be nice to have this mainline. |
The idea of cgo is scaring me a bit. The only external build dependency today is Since it's extensible and you can patch it with something like Sorry about this. |
No worries and thank you for suggesting a workaround! |
Parity with http://httpbin.org/ . This is similar to ahmetb#20 but uses a Go-only implementation translated by c2go: https://github.com/andybalholm/brotli
Parity with http://httpbin.org/ . This is similar to ahmetb#20 but uses a Go-only implementation translated by c2go: https://github.com/andybalholm/brotli
Parity with http://httpbin.org/ . This is similar to #20 but uses a Go-only implementation translated by c2go: https://github.com/andybalholm/brotli
Parity with http://httpbin.org/