mirror of
https://github.com/andwati/telecom-platform.git
synced 2026-10-18 11:02:54 +00:00
- Add ResponseWriterWrapper struct with gin.ResponseWriter and body buffer fields to capture response content - Add Write method to ResponseWriterWrapper that captures response body while writing to original writer - Add Body method to ResponseWriterWrapper that returns captured response bytes - Update ContentBasedETagMiddleware to wrap response writer with ResponseWriterWrapper before calling