[Fixed]-Curl-like tool for wsgi over unix domain socket

1👍

I think you’re looking for uwsgi_curl as described in this answer.

0👍

The Django application listening on the unix socket uses a different protocol than HTTP, most probably FastCGI. So you cannot use an HTTP client to talk directly with it.

Here you can find an article showing how to use a command line program called cgi-fcgi to talk directly with your application. The article uses Php-fpm, but the concept is the same.

http://www.thatsgeeky.com/2012/02/directly-connecting-to-php-fpm/

0👍

Django test module has a Client that can talk to a wsgi/asgi application.
You can probably use this in a REPL python session for instance.

Leave a comment