projects
/
m6w6
/
ext-json_post
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
|
inline
| side by side (from parent 1:
fff47a3
)
clarify content types handled
author
Michael Wallner
<mike@php.net>
Fri, 14 Aug 2015 07:28:28 +0000
(09:28 +0200)
committer
Michael Wallner
<mike@php.net>
Fri, 14 Aug 2015 07:28:28 +0000
(09:28 +0200)
README.md
patch
|
blob
|
history
diff --git
a/README.md
b/README.md
index 460ae5fe95675e23e090d313e121041ae40c0789..cc8b8acae2ed22c6745287a137b8f1bac1877636 100644
(file)
--- a/
README.md
+++ b/
README.md
@@
-1,12
+1,13
@@
-# PECL :: json_post
+# PECL :: json_post
[![Build Status](https://travis-ci.org/m6w6/ext-json_post.svg?branch=master)](https://travis-ci.org/m6w6/ext-sjon_post)
-JSON POST handler
[![Build Status](https://travis-ci.org/m6w6/ext-json_post.svg?branch=master)](https://travis-ci.org/m6w6/ext-sjon_post)
+JSON POST handler
## About
## About
-This tiny extension provides a PHP content type handler for "text/json" to PHP's
-form data parser. If the `Content-Type` of an incoming request is `text/json`,
-the JSON contents of the request body will by parsed into `$_POST`.
+This tiny extension provides a PHP content type handler for JSON to PHP's
+form data parser. If the `Content-Type` of an incoming request is `text/json`
+or `application/json`, the JSON contents of the request body will by parsed
+into `$_POST`.
This extension does not provide any constants, functions or classes.
This extension does not provide any constants, functions or classes.