[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cgiapp] how to set 403 status code with CGI::App?


It doesn't seem to be the browser (which really would be pretty broken -- I don't want a browser to add html to a document coming from a server).

I get the same display (the form and the extra boilerplate 'Forbidden ...') on all the browsers I've tried: Mozilla 1.1 (Linux and Windoze), IE 5 (Windoze) and Opera 6 (Windoze).

On an off-topic point, it appears that Opera treats a relative link of '?rm=foo' differently than the other browsers. The others fetch '/App.pl?rm=foo' and Opera fetches '/?rm=foo'. Without going back to the RFCs, I don't know which is technically correct (and it is easy enough to avoid this in my code).

Cheers,
--Mike


William McKee wrote:
Hi Mike,

That is curious. Are you sure it's not the browser that's adding the explanatory text? Have you tried it in other browsers? Also, you may want to confirm that it's CGI.pm by writing a simple cgi that returns the 403 status and see what happens.

Good luck,
William



---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.