In my webapp I am getting key errors for requests with no user agent.
How can I make a request with no user agent to debug and test this?
nc example.com 80 << http_message_file
Did not load the request in the file, rather let me type it using a here DOC.
cat http_message_file | nc example.com 80
Did the trick