[LON-CAPA-cvs] cvs: loncom /xml lontexconvert.pm
raeburn
raeburn@source.lon-capa.org
Mon, 12 Jan 2009 04:46:48 -0000
raeburn Mon Jan 12 04:46:48 2009 EDT
Modified files:
/loncom/xml lontexconvert.pm
Log:
- Add linefeed to HTTP header.
Index: loncom/xml/lontexconvert.pm
diff -u loncom/xml/lontexconvert.pm:1.94 loncom/xml/lontexconvert.pm:1.95
--- loncom/xml/lontexconvert.pm:1.94 Fri Jan 2 01:22:33 2009
+++ loncom/xml/lontexconvert.pm Mon Jan 12 04:46:48 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# TeX Conversion Module
#
-# $Id: lontexconvert.pm,v 1.94 2009/01/02 01:22:33 raeburn Exp $
+# $Id: lontexconvert.pm,v 1.95 2009/01/12 04:46:48 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -262,7 +262,7 @@
Proto => 'tcp');
}
if ($socket) {
- my $headreq = "HEAD $path HTTP/1.0 User-Agent: Mozilla/5.0 \r\n\r\n";
+ my $headreq = "HEAD $path HTTP/1.0\r\nUser-Agent: Mozilla/5.0\r\n\r\n";
print $socket $headreq;
while (<$socket>) {
if (/Vertical\-Align\:\s*?([\-\d]+)/) {