-
- Downloads
Update /drip endpoint:
- Add Server-Timing trailers to record each component of the overall response time - Switch Content-Type from application/octet-stream to text/plain to make the endpoint a bit easier to work with in a browser - Eliminate unnecessary pause after writing final byte to response
Showing
- Makefile 1 addition, 1 deletionMakefile
- httpbin/handlers.go 32 additions, 9 deletionshttpbin/handlers.go
- httpbin/handlers_test.go 72 additions, 7 deletionshttpbin/handlers_test.go
- httpbin/helpers.go 41 additions, 0 deletionshttpbin/helpers.go
- httpbin/static/index.html 1 addition, 1 deletionhttpbin/static/index.html
- internal/testing/assert/assert.go 20 additions, 4 deletionsinternal/testing/assert/assert.go
Loading
Please register or sign in to comment