projects
/
m6w6
/
ext-json_post
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
fix PHP-5-ZTS
[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
--INI--
4
json_post.onerror.response = 400
5
--POST_RAW--
6
Content-Type: application/json
7
8
{"a
9
--FILE_EXTERNAL--
10
error.inc
11
--EXPECTHEADERS--
12
Status: 400 Bad Request
13
--EXPECT--
14
DONE