Removed the automatic 302 redirects for ARI URL's that end with a slash.
authorDavid M. Lee <dlee@digium.com>
Fri, 28 Jun 2013 01:07:32 +0000 (01:07 +0000)
committerDavid M. Lee <dlee@digium.com>
Fri, 28 Jun 2013 01:07:32 +0000 (01:07 +0000)
commit1426b2b2282ebcb2dd024b07241d9b0a318efecc
treed02cdccc4422c160330e131f26e1c3f8361688d8
parent0008f15a77d1cc89ed3f086edbb6a0b69c2fdf2f
Removed the automatic 302 redirects for ARI URL's that end with a slash.

There were some problems redirecting RESTful API requests; notably the client
would change the request method to GET on the redirected requests. After some
looking into, I decided that a 404 would be simpler and have more consistent
behavior.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@393083 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_stasis_http.c