mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-07-07 01:35:25 +08:00
qt 6.5.1 original
This commit is contained in:
17
tests/testserver/apache2/testdata/www/cgi-bin/http-unknown-authentication-method.cgi
vendored
Normal file
17
tests/testserver/apache2/testdata/www/cgi-bin/http-unknown-authentication-method.cgi
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
#!/usr/bin/perl
|
||||
|
||||
use CGI;
|
||||
|
||||
$queryString = $ENV{'QUERY_STRING'};
|
||||
my $message;
|
||||
if ($queryString eq "407-proxy-authorization-required") {
|
||||
$status = 407;
|
||||
} else {
|
||||
$status = 401;
|
||||
}
|
||||
|
||||
$q = new CGI;
|
||||
print $q->header(-status=>$status,
|
||||
-type=>"text/plain",
|
||||
-WWW_Authenticate=>'WSSE realm="Test", profile="TestProfile"'),
|
||||
"authorization required";
|
Reference in New Issue
Block a user