Hi Madhawa, AFAIK, even 202 can have with and without body.
Regards, Nira On Tue, Jun 28, 2016 at 4:52 PM, Madhawa Gunasekara <[email protected]> wrote: > Hi All, > > We set 202 (Accepted) status code for the response when there isn't > content message body. but AFAIU We have to set 204 (No Content) for > successful responses where there isn't a content message body [1]. > > This issue is reported in [2]. > > Highly appreciated your thoughts on this. > > [1] https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html > [2] https://wso2.org/jira/browse/DS-886 > > Thanks, > Madhawa > > -- > *Madhawa Gunasekara* > Software Engineer > WSO2 Inc.; http://wso2.com > lean.enterprise.middleware > > mobile: +94 719411002 <+94+719411002> > blog: *http://madhawa-gunasekara.blogspot.com > <http://madhawa-gunasekara.blogspot.com>* > linkedin: *http://lk.linkedin.com/in/mgunasekara > <http://lk.linkedin.com/in/mgunasekara>* > -- *Niranjan Karunanandham* Associate Technical Lead - WSO2 Inc. WSO2 Inc.: http://www.wso2.com
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
