echo
echo copied to clipboard
High performance, minimalist Go web framework
Based on #2551 Adds a new middleware `AllowContentType` which restricts routes to only accepts requests with certain `Content-Type` header values. It's similar to the middleware of the same name available...
just added http:// or https:// in front of the address when printed into the console to make it clickable. probably better if i print it myself but this way its...
### Summary This PR refactors the `basic_auth_test.go` file to use a table-driven test approach. The new structure improves readability, simplifies the addition of new test cases, and makes it easier...
In this PR: - Improved error control - Define a startup limit for arrays
### Issue Description I want to get the request body in httpErrorHandler, but I can't. Once a request body is read by `ctx.Bind`, it cannot be read afterward. To read...
## Changes Improvements have been made to the WriteHeader and Flush methods of response.go. ## 1. **Check logger existence with ``WriteHeader``**: `r.echo` and `r.echo.Logger.Warn` are not `nil` before calling `r.echo.Logger.Warn`....
## Overview The following improvements have been made to the `WriteHeader` and `Flush` methods of `response.go`: 1.**Check for logger presence in ``WriteHeader``**: Before calling `r.echo. Make sure that `r.echo` and...
This PR addresses an issue where empty parameter values (/?v=) are not properly handled when binding to pointer struct fields. Currently, when an empty value is passed for a field...
## Changes Changed the PANIC message to be more specific. ## Improved debugging efficiency. When Flush is not supported, it is clear which ResponseWriter is the culprit, speeding problem identification...
## Current Issues The Response.Flush() method in echo/response.go causes a panic if the http.ResponseWriter it wraps does not support the http.Flusher interface. The current panic message is “response writer flushing...