[Rt-commit] [svn] r1305 - in RTx-Atom: . html/Atom/0.3
autrijus at pallas.eruditorum.org
autrijus at pallas.eruditorum.org
Tue Aug 3 22:14:16 EDT 2004
Author: autrijus
Date: Tue Aug 3 22:14:16 2004
New Revision: 1305
Modified:
RTx-Atom/ (props changed)
RTx-Atom/html/Atom/0.3/dhandler
Log:
r6015 at not: autrijus | 2004-07-13T02:58:39.652241Z
r6183 at not: autrijus | 2004-07-20T02:35:03.329955Z
* try to see if ->headers_out->add() can work everywhere.
Modified: RTx-Atom/html/Atom/0.3/dhandler
==============================================================================
--- RTx-Atom/html/Atom/0.3/dhandler (original)
+++ RTx-Atom/html/Atom/0.3/dhandler Tue Aug 3 22:14:16 2004
@@ -16,9 +16,7 @@
my @encodings = $r->headers_in->{'Accept-Charset'} =~ m{([^\s,]+[^;,]*)}g;
my $atom_client = $accept{'application/x.atom+xml'};
-my $header_out = sub {
- $ENV{FCGI_ROLE} ? $r->header_out(@_) : $r->headers_out->add(@_);
-};
+my $header_out = sub { $r->headers_out->add(@_) };
my $http_charset;
if (@encodings) {
More information about the Rt-commit
mailing list