NODATA command


Syntax:

  NODATA [NOWAIT] [NORESPONSE]

No data are to be sent; the response is complete. For an HTTP/1.0 or later request, only a response line and header will be sent. For a Gopher (or HTTP/0.9) request, the connection will simply be closed (unless it is persistent, see below). This command is intended to be used when only a header, or nothing at all, is to be returned to the client.

If NORESPONSE is specified, then no response line and header will be sent either, even for an HTTP/1.0 or later request; the connection will be closed (unless persistent). This option could be used for testing, or if (say) a faulty client was sending repeat messages.

The NOWAIT keyword may be used to force the current connection to be closed after any response is sent, even if a persistent connection had been requested.

NODATA is a completion command.


[ previous section | contents | next section ]

From 'goserve.doc', version 2.52.
Copyright © IBM Corporation, 1993, 1998. All rights reserved.