R
Ruby Tuesday
Hi, I have these 2 files, one work and the other does not.
#!c:/apps/ruby/bin/ruby.exe
print "Content-type: text/html \n\n\n"
print "1st line "
print "2nd line "
print "3rd line "
And this is the other one(DOES NOT WORK!)
#!c:/apps/ruby/bin/ruby.exe
print "Content-type: text/plain \n\n\n"
print "1st line "
print "2nd line "
print "3rd line "
The only difference is that the 2nd file has text/plain in the header
instead of text/html. Please advise. Thanks
#!c:/apps/ruby/bin/ruby.exe
print "Content-type: text/html \n\n\n"
print "1st line "
print "2nd line "
print "3rd line "
And this is the other one(DOES NOT WORK!)
#!c:/apps/ruby/bin/ruby.exe
print "Content-type: text/plain \n\n\n"
print "1st line "
print "2nd line "
print "3rd line "
The only difference is that the 2nd file has text/plain in the header
instead of text/html. Please advise. Thanks