Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from Aug 22, 2023

Conversation

bramaudi
Copy link
Contributor

@bramaudi bramaudi commented Aug 22, 2023

馃 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
Contributor

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

vlib/vweb/vweb.v Outdated Show resolved Hide resolved
@spytheman spytheman merged commit 8a1077a into vlang:master Aug 22, 2023
34 of 35 checks passed
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.

None yet

3 participants