Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: [Mason] Sending right header to force http basic authentication

by johnnywang (Priest)
on Nov 26, 2005 at 20:47 UTC ( [id://511950]=note: print w/replies, xml ) Need Help??


in reply to Re: [Mason] Sending right header to force http basic authentication
in thread [Mason] Sending right header to force http basic authentication

This doesn't seem to work. Although abort() forced the correct status (401), it somehow removed the WWW-Authenticate header:
$r->header_out->add("WWW-Authenticate" => 'Basic realm="RealmChain"'); $r->send_http_header();
  • Comment on Re^2: [Mason] Sending right header to force http basic authentication
  • Download Code

Replies are listed 'Best First'.
Re^3: [Mason] Sending right header to force http basic authentication
by Anonymous Monk on Nov 27, 2005 at 02:28 UTC
    try : $r->err_header_out instead of $r->header_out
      Great ! It just work as I want with err_header !! Thx a lot.

      -- Nice photos of naked perl sources here !

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://511950]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2024-04-23 19:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found