Title: Feature Request: function to detect a valid Token · Issue #13 · dunglas/httpsfv · GitHub
Open Graph Title: Feature Request: function to detect a valid Token · Issue #13 · dunglas/httpsfv
X Title: Feature Request: function to detect a valid Token · Issue #13 · dunglas/httpsfv
Description: 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...
Open Graph Description: 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 whet...
X Description: 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 t...
Opengraph URL: https://github.com/dunglas/httpsfv/issues/13
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Feature Request: function to detect a valid Token","articleBody":"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.","author":{"url":"https://github.com/justinruggles","@type":"Person","name":"justinruggles"},"datePublished":"2025-02-24T22:00:49.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/13/httpsfv/issues/13"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f5217ebd-56f9-67d0-a3de-316cc7f5c394 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CEEC:31CFDC:211948:2D7BCC:6A4D334F |
| html-safe-nonce | fdb4dfce42f358a567ec00c57280e4345e029701c8e6a405ecca31ad0eda6a3f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRUVDOjMxQ0ZEQzoyMTE5NDg6MkQ3QkNDOjZBNEQzMzRGIiwidmlzaXRvcl9pZCI6IjE1MjQ4OTMyODExNDQ3OTk1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7f33aa1071bb5acfceec7b59df0e759d47fb3f2871c1b7c92463d9f22ef55110 |
| hovercard-subject-tag | issue:2876256690 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/dunglas/httpsfv/13/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cd3f086c03a11638ba9c05c194ac10f7ff60cc3b8df0e3d0fead57e7d91acbea/dunglas/httpsfv/issues/13 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cd3f086c03a11638ba9c05c194ac10f7ff60cc3b8df0e3d0fead57e7d91acbea/dunglas/httpsfv/issues/13 |
| og:image:alt | 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 whet... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | justinruggles |
| hostname | github.com |
| expected-hostname | github.com |
| None | 92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6 |
| turbo-cache-control | no-preview |
| go-import | github.com/dunglas/httpsfv git https://github.com/dunglas/httpsfv.git |
| octolytics-dimension-user_id | 57224 |
| octolytics-dimension-user_login | dunglas |
| octolytics-dimension-repository_id | 282322318 |
| octolytics-dimension-repository_nwo | dunglas/httpsfv |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 282322318 |
| octolytics-dimension-repository_network_root_nwo | dunglas/httpsfv |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 56fc8347865a14e2ec811533d68f929cf4e0ec19 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width