projects
/
m6w6
/
ext-json_post
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
c4d35110b32c7899d72e3f251dd849131ad37739
[m6w6/ext-json_post]
/
tests
/
error002.phpt
1
--TEST--
2
json_post with malformed JSON [response] (https://github.com/m6w6/ext-json_post/issues/3)
3
--EXTENSIONS--
4
json_post
5
--INI--
6
json_post.onerror.response = 400
7
--POST_RAW--
8
Content-Type: application/json
9
10
{"a
11
--FILE_EXTERNAL--
12
error.inc
13
--EXPECTHEADERS--
14
Status: 400 Bad Request
15
--EXPECT--
16
DONE