Skip to content

Binding of query parameters should also work for HEAD methods #2026

@clems71

Description

@clems71

Based on the fact that HEAD method is a GET-like with no content, I think that binding of query parameters should be allowed for HEAD methods as well here:

echo/bind.go

Line 118 in 8b4cce5

if c.Request().Method == http.MethodGet || c.Request().Method == http.MethodDelete {

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions