Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between self.response.write and self.response.out.write in google app engine

What is the difference between self.response.write and self.response.out.write in google app engine?

Thank you

like image 516
Onat Avatar asked Jun 03 '12 00:06

Onat


1 Answers

there is no difference.
webapp uses self.response.out.write and webapp2 self.response.write kept the out for compatibility reasons.
here the implentation of the Response Class:
http://code.google.com/p/webapp-improved/source/browse/webapp2.py#365

like image 106
aschmid00 Avatar answered Sep 22 '22 15:09

aschmid00