egroupware/api/src/Json
Ralf Becker 2f1333a116 return and show in browser JSON parsing errors maybe caused by network problems
server sends HTTP status "400 Bad Request" with JSON payload with "error" and "errno" attributes.
error is json_last_error_msg() prefixed with "JSON ".
Not yet implemented is resending the request (max. twice) for JSON parsing errors to try to work around network problems
2018-11-01 12:00:08 +01:00
..
Exception move egw_json_(request|response|push) to api 2016-03-20 13:02:55 +00:00
Exception.php move egw_json_(request|response|push) to api 2016-03-20 13:02:55 +00:00
Msg.php new JSON response method "message" to call egw.message eg. in a popup, by using the context from the egw.json call 2018-06-05 12:29:51 +02:00
Push.php move egw_json_(request|response|push) to api 2016-03-20 13:02:55 +00:00
PushBackend.php move egw_json_(request|response|push) to api 2016-03-20 13:02:55 +00:00
Request.php return and show in browser JSON parsing errors maybe caused by network problems 2018-11-01 12:00:08 +01:00
Response.php replace non-utf8 chars in content send to browser with utf8 replacement char 2018-03-01 17:38:45 +01:00
Tail.php do not allow path traversal and htmlencode displayed path 2017-10-26 13:16:52 +02:00