Makes sense for the json response, but why is the index which uses an html view 
returning as json?

From: Niphlod 
Sent: Monday, March 02, 2015 2:41 AM
To: web2py@googlegroups.com 
Subject: [web2py] Re: Problems after upgrading to 2.9.12

it's a bug that got fixed.
You used to rely on response.json() to return a string, while it had to return 
a javascript object.  
Now response.json() sets the content-type header to application/json as it is 
supposed to.
-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to a topic in the Google 
Groups "web2py-users" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/web2py/9TZA25peXTE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to