Skip to content

Faild to SET empty string to KEY via PUT method #269

Description

@vimagick

Webdis returns error when PUT empty string.

$ curl http://127.0.0.1:7379/SET/hello/
{"SET":[true,"OK"]}

$ touch empty.txt

$ stat -c %s empty.txt
0

$ curl -T empty.txt http://127.0.0.1:7379/SET/hello
{"SET":[false,"ERR wrong number of arguments for 'set' command"]}

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions