diff options
author | David M. Lee <dlee@digium.com> | 2013-11-08 17:29:53 +0000 |
---|---|---|
committer | David M. Lee <dlee@digium.com> | 2013-11-08 17:29:53 +0000 |
commit | 97a8debd90e4d31f15803dc26e8884bf34d7650e (patch) | |
tree | 0fd89838b26a72cfb96494ef1091fe1a5642b98d /res/res_pjsip_nat.c | |
parent | 2564ed26f79d374fc92f5cf08ec6b5f32920be99 (diff) |
ari: Add application/x-www-form-urlencoded parameter support
ARI POST calls only accept parameters via the URL's query string.
While this works, it's atypical for HTTP API's in general, and
specifically frowned upon with RESTful API's.
This patch adds parsing for application/x-www-form-urlencoded request
bodies if they are sent in with the request. Any variables parsed this
way are prepended to the variable list supplied by the query string.
(closes issue ASTERISK-22743)
Review: https://reviewboard.asterisk.org/r/2986/
........
Merged revisions 402555 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@402557 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_pjsip_nat.c')
0 files changed, 0 insertions, 0 deletions