View | Details | Raw Unified | Return to bug 37741
Collapse All | Expand All

(-)a/errors/400.pl (+3 lines)
Lines 41-44 my $status = '400 Bad Request'; Link Here
41
if ( C4::Context->is_internal_PSGI_request() ) {
41
if ( C4::Context->is_internal_PSGI_request() ) {
42
    $status = '200 OK';
42
    $status = '200 OK';
43
}
43
}
44
45
#NOTE: We're not setting/updating the cookie here
46
$cookie = '';
44
output_with_http_headers $query, $cookie, $template->output, 'html', $status;
47
output_with_http_headers $query, $cookie, $template->output, 'html', $status;
(-)a/errors/401.pl (+2 lines)
Lines 40-43 my $status = '401 Unauthorized'; Link Here
40
if ( C4::Context->is_internal_PSGI_request() ) {
40
if ( C4::Context->is_internal_PSGI_request() ) {
41
    $status = '200 OK';
41
    $status = '200 OK';
42
}
42
}
43
#NOTE: We're not setting/updating the cookie here
44
$cookie = '';
43
output_with_http_headers $query, $cookie, $template->output, 'html', $status;
45
output_with_http_headers $query, $cookie, $template->output, 'html', $status;
(-)a/errors/402.pl (+2 lines)
Lines 41-44 my $status = '402 Payment Required'; Link Here
41
if ( C4::Context->is_internal_PSGI_request() ) {
41
if ( C4::Context->is_internal_PSGI_request() ) {
42
    $status = '200 OK';
42
    $status = '200 OK';
43
}
43
}
44
#NOTE: We're not setting/updating the cookie here
45
$cookie = '';
44
output_with_http_headers $query, $cookie, $template->output, 'html', $status;
46
output_with_http_headers $query, $cookie, $template->output, 'html', $status;
(-)a/errors/403.pl (+2 lines)
Lines 43-46 my $status = '403 Forbidden'; Link Here
43
if ( C4::Context->is_internal_PSGI_request() ) {
43
if ( C4::Context->is_internal_PSGI_request() ) {
44
    $status = '200 OK';
44
    $status = '200 OK';
45
}
45
}
46
#NOTE: We're not setting/updating the cookie here
47
$cookie = '';
46
output_with_http_headers $query, $cookie, $template->output, 'html', $status;
48
output_with_http_headers $query, $cookie, $template->output, 'html', $status;
(-)a/errors/404.pl (+3 lines)
Lines 41-44 my $status = '404 Not Found'; Link Here
41
if ( C4::Context->is_internal_PSGI_request() ) {
41
if ( C4::Context->is_internal_PSGI_request() ) {
42
    $status = '200 OK';
42
    $status = '200 OK';
43
}
43
}
44
45
#NOTE: We're not setting/updating the cookie here
46
$cookie = '';
44
output_with_http_headers $query, $cookie, $template->output, 'html', $status;
47
output_with_http_headers $query, $cookie, $template->output, 'html', $status;
(-)a/errors/500.pl (+2 lines)
Lines 41-44 my $status = '500 Internal Server Error'; Link Here
41
if ( C4::Context->is_internal_PSGI_request() ) {
41
if ( C4::Context->is_internal_PSGI_request() ) {
42
    $status = '200 OK';
42
    $status = '200 OK';
43
}
43
}
44
#NOTE: We're not setting/updating the cookie here
45
$cookie = '';
44
output_with_http_headers $query, $cookie, $template->output, 'html', $status;
46
output_with_http_headers $query, $cookie, $template->output, 'html', $status;
(-)a/opac/errors/400.pl (+2 lines)
Lines 41-44 my $status = '400 Bad Request'; Link Here
41
if ( C4::Context->is_internal_PSGI_request() ) {
41
if ( C4::Context->is_internal_PSGI_request() ) {
42
    $status = '200 OK';
42
    $status = '200 OK';
43
}
43
}
44
#NOTE: We're not setting/updating the cookie here
45
$cookie = '';
44
output_with_http_headers $query, $cookie, $template->output, 'html', $status;
46
output_with_http_headers $query, $cookie, $template->output, 'html', $status;
(-)a/opac/errors/401.pl (+2 lines)
Lines 41-44 my $status = '401 Unauthorized'; Link Here
41
if ( C4::Context->is_internal_PSGI_request() ) {
41
if ( C4::Context->is_internal_PSGI_request() ) {
42
    $status = '200 OK';
42
    $status = '200 OK';
43
}
43
}
44
#NOTE: We're not setting/updating the cookie here
45
$cookie = '';
44
output_with_http_headers $query, $cookie, $template->output, 'html', $status;
46
output_with_http_headers $query, $cookie, $template->output, 'html', $status;
(-)a/opac/errors/402.pl (+2 lines)
Lines 41-44 my $status = '402 Payment Required'; Link Here
41
if ( C4::Context->is_internal_PSGI_request() ) {
41
if ( C4::Context->is_internal_PSGI_request() ) {
42
    $status = '200 OK';
42
    $status = '200 OK';
43
}
43
}
44
#NOTE: We're not setting/updating the cookie here
45
$cookie = '';
44
output_with_http_headers $query, $cookie, $template->output, 'html', $status;
46
output_with_http_headers $query, $cookie, $template->output, 'html', $status;
(-)a/opac/errors/403.pl (+2 lines)
Lines 43-46 my $status = '403 Forbidden'; Link Here
43
if ( C4::Context->is_internal_PSGI_request() ) {
43
if ( C4::Context->is_internal_PSGI_request() ) {
44
    $status = '200 OK';
44
    $status = '200 OK';
45
}
45
}
46
#NOTE: We're not setting/updating the cookie here
47
$cookie = '';
46
output_with_http_headers $query, $cookie, $template->output, 'html', $status;
48
output_with_http_headers $query, $cookie, $template->output, 'html', $status;
(-)a/opac/errors/404.pl (+2 lines)
Lines 41-44 my $status = '404 Not Found'; Link Here
41
if ( C4::Context->is_internal_PSGI_request() ) {
41
if ( C4::Context->is_internal_PSGI_request() ) {
42
    $status = '200 OK';
42
    $status = '200 OK';
43
}
43
}
44
#NOTE: We're not setting/updating the cookie here
45
$cookie = '';
44
output_with_http_headers $query, $cookie, $template->output, 'html', $status;
46
output_with_http_headers $query, $cookie, $template->output, 'html', $status;
(-)a/opac/errors/500.pl (-1 / +2 lines)
Lines 41-44 my $status = '500 Internal Server Error'; Link Here
41
if ( C4::Context->is_internal_PSGI_request() ) {
41
if ( C4::Context->is_internal_PSGI_request() ) {
42
    $status = '200 OK';
42
    $status = '200 OK';
43
}
43
}
44
#NOTE: We're not setting/updating the cookie here
45
$cookie = '';
44
output_with_http_headers $query, $cookie, $template->output, 'html', $status;
46
output_with_http_headers $query, $cookie, $template->output, 'html', $status;
45
- 

Return to bug 37741