How to use curl to generate http 1.0 request for a file without a leading slash?

Viewed 34867

Below is the request I received from server log. I am worried this may trigger some crash. The server is a simple express dev server.

"GET login.cgi HTTP/1.0"

How do I use curl to duplicate the above exact request?

  • no path
  • login.cgi
  • HTTP 1.0

Thanks!

1 Answers
Related