Philip M. Gollucci wrote:
Fred Moyer wrote:

On Tue, 29 Aug 2006, Perrin Harkins wrote:

Jonathan wrote:

example:
    i need to send a 307 redirect
    i think: 'wtf is the constant for that?'
    i look in the apache docs, i just see constant names
    should i use
        HTTP_MOVED_TEMPORARILY
        HTTP_TEMPORARY_REDIRECT
    ?

    ok, i'm screwed.  let me look in the httpd docs

OK, so you are talking about the HTTP response codes only and not all constants, which sounds reasonable.

No, look at the HTTP RFC.  These are official codes with official names.
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

Any objections to adding this as a footnote to the Apache2::Constants
docs?

+1

Either this or a copy of the table from the "practical mod_perl" book sounds good.

--
_____________________________________________________________
Stas Bekman    mailto:[EMAIL PROTECTED] http://stason.org/
MailChannels: Reliable Email Delivery http://mailchannels.com
The "Practical mod_perl" book         http://modperlbook.org/
http://www.linkedin.com/in/stasbekman http://perl.apache.org/
http://stason.org/photos/gallery/     [* best photos here *]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to