Skip to content

vweb: add user-agent utility method called ua - #19204

Merged
spytheman merged 3 commits into
vlang:masterfrom
bramaudi:vweb_useragent
Aug 22, 2023
Merged

spytheman merged 3 commits into
vlang:masterfrom
bramaudi:vweb_useragent

Conversation

@bramaudi

@bramaudi bramaudi commented Aug 22, 2023 •

Copy link
Copy Markdown
Contributor

πŸ€– Generated by Copilot at a0e81a2

Add ua method to vweb module for user-agent detection. Update vlib/vweb/README.md with documentation and example for the new method.

πŸ€– Generated by Copilot at a0e81a2

  • Add ua method to vweb module to return user-agent header (link)
  • Document ua method in vweb/README.md with example usage (link)

@JalonSolov

Copy link
Copy Markdown
Collaborator

I'd spell it out, so it's more obvious... user_agent instead of ua.

Comment thread vlib/vweb/vweb.v Outdated
@spytheman
spytheman merged commit 8a1077a into vlang:master Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants