Re: OpenMarket Error Messages
Bill Snapper (snapper@OpenMarket.com)
Tue, 20 May 1997 13:25:39 -0400
Message-Id: <3381DE93.1B1A@openmarket.com>
Date: Tue, 20 May 1997 13:25:39 -0400
From: Bill Snapper <snapper@OpenMarket.com>
To: David Moulton <DMOULTON@novell.com>
Subject: Re: OpenMarket Error Messages
The reason you get "Document Contains No Data" is that you provided
no content with your authorization header. You only sent the error
status and WWW-Authenticate headers. Try adding a content type header
to your reply with some identifying text. For example:
FCGX_FPrintF(out,
"Status: 401 Unauthorized Access.\r\n"
"WWW-Authenticate: Basic Realm=\"Snapper-World\"\r\n"
"Content-type: text/html\r\n\r\n"
"You did not enter credentials.\r\n\r\n");
Hope this helps.
- Bill -
--
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Bill Snapper | Open Market, Inc. | My opinions are my own,
Software Engineer | 245 First St. | and not necessarily
snapper@openmarket.com | Cambridge, MA 02142 | those of my employer,
1-617-949-7365 | | Open Market Inc.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++