Closed mvidalgarcia closed 6 years ago
Thanks for you report!
Do you need to get the status code only or it will be fine with how normal curl responds with -i/-I
arg?
I think an arg like -i/-I
should be fine and more appropriate.
Edit: Btw, to do some tests I had to fork your repo and implemented an arg option to just get the status code. Let me know if you want a PR. (https://github.com/mvidalgarcia/uwsgi-tools/commit/18614aa57ccf8db3366d7a84cd6b36818fc213aa)
When I don't grep the response, it gets properly printed in the console but it fails when I try to grep it.
Is there a way to just get the HTTP status code?