mckoss / pageforest

Automatically exported from code.google.com/p/pageforest
0 stars 0 forks source link

Compact error formatting for AJAX requests #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It would be nice to format error messages consistently, but adjusted for
the following situations:

 * Browser: full HTML (using page.html template)
 * JSONP: tunnel error messages through 200 OK
 * AJAX: JSON with status code and message
 * py.py: plaintext

AJAX and pf.py should probably use the same formatting, and JSONP should be
a wrapper around it.

Original issue reported on code.google.com by jcrocholl on 18 May 2010 at 3:08

GoogleCodeExporter commented 9 years ago
py.py should be pf.py

Original comment by jcrocholl on 18 May 2010 at 3:55