[LON-CAPA-cvs] cvs: loncom /xml lontexconvert.pm
raeburn
raeburn@source.lon-capa.org
Mon, 25 May 2009 19:41:59 -0000
raeburn Mon May 25 19:41:59 2009 EDT
Modified files:
/loncom/xml lontexconvert.pm
Log:
- Omit "User-Agent" part of string so Apache 1.3 (RHEL4 and SLES9) is able to process the HTTP header.
Index: loncom/xml/lontexconvert.pm
diff -u loncom/xml/lontexconvert.pm:1.95 loncom/xml/lontexconvert.pm:1.96
--- loncom/xml/lontexconvert.pm:1.95 Mon Jan 12 04:46:48 2009
+++ loncom/xml/lontexconvert.pm Mon May 25 19:41:59 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# TeX Conversion Module
#
-# $Id: lontexconvert.pm,v 1.95 2009/01/12 04:46:48 raeburn Exp $
+# $Id: lontexconvert.pm,v 1.96 2009/05/25 19:41:59 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -262,7 +262,7 @@
Proto => 'tcp');
}
if ($socket) {
- my $headreq = "HEAD $path HTTP/1.0\r\nUser-Agent: Mozilla/5.0\r\n\r\n";
+ my $headreq = "HEAD $path HTTP/1.0\r\n\r\n";
print $socket $headreq;
while (<$socket>) {
if (/Vertical\-Align\:\s*?([\-\d]+)/) {