Skip to content

Feature Request: function to detect a valid Token #13

Description

@justinruggles

I have a case where the RFC I'm implementing defines a value as "either a String or a Token". I suppose I could always use String, but it would be nice to have a function in httpsfv to tell me whether a Go string is a valid Token so that I could cast it accordingly.

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