Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(Combined)LoggingHandler: Add tests for http.Push support
Added two tests TestLoggingHandlerWithPush and TestCombinedLoggingHandlerWithPush in new handlers_go18_test.go file which is only built with Go 1.8 or higher. Tests ensure that the ResponseWriter passed to a handler wrapped with handlers.LoggingHandler or handlers.CombinedLoggingHandler satisfy the new http.Pusher interface.
- Loading branch information