Closed ivanitskiy closed 10 months ago
When a client sends a request without a user-agent header (curl -H "user-agent:") then pub fn user_agent(&self) would crash.
user-agent
pub fn user_agent(&self)
Before creating a PR, run through this checklist and mark each as complete.
Proposed changes
When a client sends a request without a
user-agent
header (curl -H "user-agent:") thenpub fn user_agent(&self)
would crash.Checklist
Before creating a PR, run through this checklist and mark each as complete.