On Tue, Jul 2, 2013 at 4:20 PM, Larry Martell <larry.mart...@gmail.com>wrote:

> On Tue, Jul 2, 2013 at 5:14 PM, Sanjay Bhangar <sanjaybhan...@gmail.com>
> wrote:
> > On Tue, Jul 2, 2013 at 4:01 PM, Larry Martell <larry.mart...@gmail.com>
> > wrote:
> >>
> >> <snip />
> >>
> >> In the browser the response has this:
> >>
> >> HTTP/1.0 200 OK
> >> Date: Tue, 02 Jul 2013 22:53:47 GMT
> >> Server: WSGIServer/0.1 Python/2.7.2
> >> Vary: Cookie
> >> Content-Type: text/plain
> >>
> >> No content. But I verified from pdb that the python code is sending
> >> something in the content when it does this:
> >>
> >> return HttpResponse(content=data, content_type="text/plain", status=200)
> >>
> > try:
> >   return HttpResponse(data, content_type="text/plain", status=200)
> >
> > (no content= ... )
>
> No difference - still no content.
>
> Can you navigate to the page just in the browser (not making an AJAX
request) ? Do you get a response then? What if you substitute data with
"some random string" ?

-Sanjay

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to