Author: rfm Date: Thu Oct 27 12:24:57 2016 New Revision: 40180 URL: http://svn.gna.org/viewcvs/gnustep?rev=40180&view=rev Log: fix default method
Modified: libs/webservices/trunk/GWSService.m Modified: libs/webservices/trunk/GWSService.m URL: http://svn.gna.org/viewcvs/gnustep/libs/webservices/trunk/GWSService.m?rev=40180&r1=40179&r2=40180&view=diff ============================================================================== --- libs/webservices/trunk/GWSService.m (original) +++ libs/webservices/trunk/GWSService.m Thu Oct 27 12:24:57 2016 @@ -901,7 +901,10 @@ } _stage = RPCActive; toSend = [_request retain]; - method = [_HTTPMethod retain]; + if (nil == (method = [_HTTPMethod retain])) + { + method = @"POST"; + } [_lock unlock]; /* Now we initiate the asynchronous I/O process. _______________________________________________ Gnustep-cvs mailing list Gnustep-cvs@gna.org https://mail.gna.org/listinfo/gnustep-cvs