On 05.05.2010, at 16:54, Stephen Deasey wrote:

> In general:
>
>    result = Ns_ConnReturnData(conn, status, data, data_length,  
> mime_type);
>
> For responses without a body:
>
>    result = Ns_ConnReturnStatus(conn, status);
>
> For 304's in particular:
>
>    result = Ns_ConnReturnNotModified(conn);
>
> ...and related in nsd/returnresp.c.  If there's a useful HTTP response
> that's missing, you should probably just add it.

Perfect. Even better than I thought :-)

>
>
> This example is kid of buggy:

It is. Just made quick one to illustrate what's up.
But a good explanation! Thanks. Have learned something new.

Cheers
Zoran


------------------------------------------------------------------------------
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to