Did I find the right examples for you? yes no

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/d/j/django-downloadview-HEAD/demo/demoproject/lighttpd/tests.py   django-downloadview(Download)
import django.test
 
from django_downloadview.lighttpd import assert_x_sendfile
 
from demoproject.lighttpd.views import storage, storage_dir
        response = self.client.get(url)
        assert_x_sendfile(
            self,
            response,
            content_type="text/plain; charset=utf-8",
        response = self.client.get(url)
        assert_x_sendfile(
            self,
            response,
            content_type="text/plain; charset=utf-8",