I want to send a PING to Redis to check if the connection is working, now I could just install redis-cli, but I don’t want to and curl is already there. So how can I abuse curl to do that? Basically I need to turn off what’s send here: I was able to get rid of the User-Agent altogether by
Tag: http
How to handle 0 Content length in POST request in CGI?
In my CGI application something happens when I pass a 0 content length POST request. Here is my code: I test my application using the Http-Requester plugin for FireFox, when I pass a POST request with no data, the application seems like it enters a loop and no response. If I pass a GET request, the code works fine because
How to correctly use Siege to benchmark GET requests?
I use siege to benchmark a local HTTP service: Benchmark result gives ~500 transactions per second throughput. However, when I benchmark the service manually by launching 8 simultaneous loops of curl, the same endpoint gives many thousands per second throughput. So what am I doing wrong with siege? Answer There a few things that may be impacting your test. Check