I really don't like the idea of having a magic return code which is interpreted a special way. Maybe we should have a HttpHeaderResult which you can set things like code, etc onto... Then you could parameterize the Result instance with a code of 204 and map it as a global result for "no content".
> -----Original Message----- > From: Fernando Martins [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 17, 2003 5:54 AM > To: [EMAIL PROTECTED] > Subject: Re: [OS-webwork] HTTP 204 Trick > > > > I think both options have possible. > If there isn't any result defined, send 204. (there might be > global-results tough) If there is results, and one returned > is NO_CONTENT send 204. > > > BOGAERT Mathias wrote: > > So how would you indicate this from the action class (you > might want > > to have a SUCCESS and NO_CONTENT result)? IMO the result code > > NO_CONTENT should be supported. > > > > Cheers, > > Mathias > > > > -----Original Message----- > > From: Jason Carreira [mailto:[EMAIL PROTECTED] > > Sent: maandag 16 juni 2003 20:48 > > To: [EMAIL PROTECTED] > > Subject: RE: [OS-webwork] HTTP 204 Trick > > > > > > How about instead of having it mapped to a result code, just return > > 204 if there's no result mapped for the action? And we > could also make > > it a Result class you could map, if you wanted to put it after a > > chained action or something... > > > > > >>-----Original Message----- > >>From: Pat Lightbody [mailto:[EMAIL PROTECTED] > >>Sent: Wednesday, June 11, 2003 8:00 PM > >>To: [EMAIL PROTECTED] > >>Subject: Re: [OS-webwork] HTTP 204 Trick > >> > >> > >>We could make the ServletDispatcher just return 204 for when the > >>result code is NONE. Would that work? > >> > >>-Pat > >> > >>----- Original Message ----- > >>From: "Mathias Bogaert" <[EMAIL PROTECTED]> > >>To: <[EMAIL PROTECTED]> > >>Sent: Wednesday, June 11, 2003 2:32 PM > >>Subject: [OS-webwork] HTTP 204 Trick > >> > >> > >> > >>>http://www.sonic.net/~conover/archives/000022.html > >>> > >>>Interesting approach for a problem most of us encountered before. > >>>Should > >> > >>we > >> > >>>look into how we can manage that WW2 supports this? (or at > least is > >>>open > >> > >>for > >> > >>>this kind of thing?) > >>> > >>>Mathias > >>> > >>> > >>> > >>>------------------------------------------------------- > >>>This SF.NET email is sponsored by: eBay > >>>Great deals on office technology -- on eBay now! Click here: > >>>http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > >>>_______________________________________________ > >>>Opensymphony-webwork mailing list > >>>[EMAIL PROTECTED] > >>>https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > >> > >> > >> > >>------------------------------------------------------- > >>This SF.NET email is sponsored by: eBay > >>Great deals on office technology -- on eBay now! Click here: > >>http://adfarm.mediaplex.com/ad/ck/711-11697-> 6916-5 > >> > >>_______________________________________________ > >> > >>Opensymphony-webwork mailing list > >>[EMAIL PROTECTED] > >>https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > >> > > > > > > > > ------------------------------------------------------- > > This SF.NET email is sponsored by: eBay > > Great deals on office technology -- on eBay now! Click here: > > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > > _______________________________________________ > > Opensymphony-webwork mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: INetU > > Attention Web Developers & Consultants: Become An INetU Hosting > > Partner. Refer Dedicated Servers. We Manage Them. You Get > 10% Monthly > > Commission! INetU Dedicated Managed Hosting > > http://www.inetu.net/partner/index.php > > _______________________________________________ > > Opensymphony-webwork mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > > -- > Fernando Martins <[EMAIL PROTECTED]> > > FilmWeb.pl - http://www.filmweb.pl/ > --------------------------------------------------------------------- > FilmWeb.pl tel: +48 22 646 646 5 > ul. Goszczynskiego 10, 02-616 Warsaw, Poland > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. Refer Dedicated Servers. We Manage Them. You > Get 10% Monthly Commission! INetU Dedicated Managed Hosting > http://www.inetu.net/partner/index.php > > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork