I’m serving Django with mod_wsgi and Apache… unfortunately requests are returning 502 Bad Gateway error messages…
Received a invalid response
HttpResponse(‘OK’) is affected by this
render_to_response(‘…’) is not!
any ideas?!?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
realy strange…
Because the render_to_response is implemented with HttpResponse.
Maybe there is a problem with your string inside HttpResponse().