codesenberg / bombardier

Fast cross-platform HTTP benchmarking tool written in Go
MIT License
5.91k stars 313 forks source link

Cannot use multi-word headers #79

Closed OlafSzmidt closed 3 years ago

OlafSzmidt commented 3 years ago

What version of bombardier are you using?

v1.2.5 windows/amd64

What operating system and processor architecture are you using (if relevant)?

windows/amd64

What did you do?

Cannot set a header with a space in the value. For example: Authorization: Bearer mytoken.

I was able to set it in Windows command line if the space is escaped with "^ ".

What you expected to happen?

The header to be set.

What actually happened?

The URL following the header is printed in a message, for instance:

unexpected localhost:8080