NODATA command


Syntax:

  NODATA [NORESPONSE]

No data is 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 | GoServe | next section ]

From 'goserve.doc', version 2.32.
Copyright © International Business Machines Corporation, 1993, 1995.
All rights reserved.