Skip to content

Support LOCK/UNLOCK verbs. #1610

Closed
Closed

Description

@the-maldridge

I'd like to add support for the LOCK/UNLOCK HTTP verbs as I am developing an application that expects to consume these verbs before synchronizing a conflicting operation on shared state. Prior to adding this support to Echo I'd like to gain some agreement that a patch will be accepted for this functionality as there is not an http.MethodLock constant in the net/http library. I can either add this method in the constants in echo.go or I can add it inline.

Activity

  1. lammel commented on Jul 20, 2020

    @lammel
    Contributor

    It would only make sense to support WebDAV as a whole as these methods are defined in RFC 4918: HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV)

    This is more or less a duplicate of #1459 which requested WebDAV support, but went stale.

    A PR would definitely be welcome and considered for full WebDAV support. Go core libs shall be reused as much as possible though and dependencies must be kept to a minimum to avoid bloat.

  2. stale commented on Nov 7, 2020

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  3. added a commit that references this issue on May 4, 2022
  4. aldas commented on Aug 11, 2022

    @aldas
    Contributor

    closing, from v4.8.0 this is possible. See #2237

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions