W3C home > Mailing lists > Public > www-talk@w3.org > March to April 2001

Multiple 100 continue responses from CGI application

From: Neelesh D. Pandit <neeleshp@geometricsoftware.com>
Date: Fri, 20 Apr 2001 10:05:38 -0400 (EDT)
Message-ID: <3AE042D6.476F43A@geometricsoftware.com>
To: www-talk@w3.org
Hello www-talk,

I'm trying to return "heartbeats" to the client from one thread of a CGI
application while the main thread does a lot of number crunching.

The heartbeats are in the form of standard "100 continue" HTTP
The problem I've run into is as follows:

- First 100 continue is returned as correct HTTP response by the client.

- Second 100 continue is seen as part of the data of the above HTTP

So I need a way to delineate HTTP responses from CGI.

The CGI spec
(http://cgi-spec.golux.com/draft-coar-cgi-v11-01-clean.html) seems to be
silent on this. Section mentions the format of "Status:" but
doesn't mention anything of returning multiple status codes during

In the first place, CAN A CGI APP RETURN MULTIPLE 100 Continue
RESPONSES? And if yes, how does one go about it?

Thanks and regards,
Neelesh D. Pandit
Received on Sunday, 22 April 2001 22:15:56 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:03 UTC