def write(self, data):
        if not hasattr(self, '_sock'):
            return
        self._sock.write(data)
A non-existent flatpage raises 404 when served through a view and should not add a slash
dataset/ETHPy150Open agoragames/haigha/haigha/transports/event_transport.py/EventTransport.write--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/contrib/flatpages/tests/middleware.py/FlatpageMiddlewareAppendSlashTests.test_redirect_view_non_existent_flatpage