A Django application listening on a unix socket uses a different protocol than HTTP, most likely FastCGI. Thus, you cannot use the HTTP client to communicate directly with it.
Here you can find an article on how to use the cgi-fcgi command-line tool to chat 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/
source share