gt; > > the asynchronous GET I get a response with the expected json
> > > > > structure which I can then use to populate the page.
>
> > > > > However, when I have Apache in front, the response is empty. And this
> > > > > appears to be only when I
page.
>
> > > > However, when I have Apache in front, the response is empty. And this
> > > > appears to be only when I make an AJAX request since all of the other
> > > > requests and responses produce the expected results.
>
> > > > I don't
t; requests and responses produce the expected results.
>
> > > I don't know how to go about troubleshooting this.
>
> > > Does anybody know what is going on here? Or, how to troubleshoot this?
>
> > Some random tips:
>
> > Take a hard look at what'
Does anybody know what is going on here? Or, how to troubleshoot this?
>
> Some random tips:
>
> Take a hard look at what's actually being returned. Empty response,
> apparently. But what about the http status code? 200 OK or 500
> AARGH_ERROR? Or something that's just n
Or, how to troubleshoot this?
Some random tips:
Take a hard look at what's actually being returned. Empty response,
apparently. But what about the http status code? 200 OK or 500
AARGH_ERROR? Or something that's just not parsed as valid json? Or
perhaps an invalid mimetype?
Useful tool
I am returning a json structure in one of my views after the user
performs a search when I only run Django's built in server. Following
the asynchronous GET I get a response with the expected json
structure which I can then use to populate the page.
However, when I have Apache in front, the respo
Ok,
I think I've solved the problem on my own.
Yesterday I coincidentally found this mod_python FAQ Entry:
http://www.modpython.org/FAQ/faqw.py?req=show&file=faq02.013.htp
Though I changed my configs to run Django with Fast-CGI and it works
:-)
Yeah, FCGI rocks!
Bye,
Gregor Müllegger
--~--~
Hi all together.
Since a few weeks i have a problem with database access in my django
installation.
On views, which use some Database related actions (mysql as backend) i
get a "Zero Sized Reply" Message from my local proxy. That means that
there it is simply an empty Response. The
8 matches
Mail list logo