[asterisk-dev] [Code Review] 3360: ARI: allow json content type with zero length body

Matt Jordan reviewboard at asterisk.org
Tue Mar 18 09:27:48 CDT 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3360/#review11271
-----------------------------------------------------------

Ship it!


Ship It!

- Matt Jordan


On March 18, 2014, 9:17 a.m., Scott Griepentrog wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/3360/
> -----------------------------------------------------------
> 
> (Updated March 18, 2014, 9:17 a.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Bugs: SWP-6748
>     https://issues.asterisk.org/jira/browse/SWP-6748
> 
> 
> Repository: Asterisk
> 
> 
> Description
> -------
> 
> Sam found that a DELETE request would fail with 400 when given a Content-Type of json but zero content length.  This patch avoids setting errno in the case that there is no content.
> 
> 
> Diffs
> -----
> 
>   /branches/12/main/http.c 410554 
> 
> Diff: https://reviewboard.asterisk.org/r/3360/diff/
> 
> 
> Testing
> -------
> 
> Passed my testing and also confirmed by Sam to fix the original failure he saw.
> 
> 
> Thanks,
> 
> Scott Griepentrog
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140318/5644ae09/attachment-0001.html>


More information about the asterisk-dev mailing list