typo fix
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
# it is not safe to use as a generic.jsonp because of security implications.
|
# it is not safe to use as a generic.jsonp because of security implications.
|
||||||
|
|
||||||
if response.view == 'generic.jsonp':
|
if response.view == 'generic.jsonp':
|
||||||
raise HTTP(501,'generic.jsonp diasbled for security reasons')
|
raise HTTP(501,'generic.jsonp disabled for security reasons')
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from gluon.serializers import json
|
from gluon.serializers import json
|
||||||
@@ -20,4 +20,4 @@ except ImportError:
|
|||||||
raise HTTP(405, 'JSON not available')
|
raise HTTP(405, 'JSON not available')
|
||||||
except:
|
except:
|
||||||
raise HTTP(405, 'JSON error')
|
raise HTTP(405, 'JSON error')
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user