NODATA command


Syntax:

  NODATA [NORESPONSE]

No data are to be sent; the response is complete. For an HTTP/1.0 request, only a response line and header will be sent. For a Gopher (or HTTP/0.9) request, the connection will simply be closed. 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 request; the connection will be closed. This option could be used for testing, or if (say) a faulty client was sending repeat messages.

NODATA is a completion command.


[ previous section | contents | next section ]

From 'goserve.doc', version 2.50.
Copyright © IBM Corporation, 1993, 1997. All rights reserved.