> Den 17/10/2014 kl. 06.02 skrev jus...@fanout.io:
> 
> I am writing a middleware class that needs to be able to make HTTP requests 
> to the application as part of it's processing. I'd like to be able to do this 
> internal to the Django app if possible, rather than having to make external 
> requests to the webserver hosting the Django app.

Maybe you can use the Django test client? I believe it supports the functions 
you need. 
https://docs.djangoproject.com/en/1.7/topics/testing/tools/#the-test-client

Erik

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/07012208-85FF-4D87-9B35-84E5BEE226B7%40cederstrand.dk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to