lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LYNX-DEV output from -MIME_HEADER versus -DUMP


From: Kerry
Subject: LYNX-DEV output from -MIME_HEADER versus -DUMP
Date: Thu, 21 Nov 1996 12:31:18 -0500 (CDT)

    I have been able to use LYNX (2-4-FM) with the -SOURCE command to retrieve 
binary files that I can then make available to graphical browsers with a
"Location: ..." directive in a CGI script; e.g.:

   $ define /user sys$output tempfile.out
   $ LYNX HTTP://ASITE.EDU/WWW/APICTURE.GIF -source
   $ Write Sys$Output "Location: tempfile.out"
   $ Write Sys$Output ""

I would like to be able to start using -MIME_HEADER instead of -SOURCE to
produce the output file, so my CGI scripts can make some decisions based on the
header info.  However, the binary data I get if I use -MIME_HEADER instead of
-SOURCE in the command above looks quite different, and can't be read, per
the example below.  Is there any way to force -MIME_HEADER to output binary
data the same way that -SOURCE (or -DUMP) does?
    (I just tested with the 2-6 distribution, and got the same results).

                         Thanks, 
                              Kerry Bouchard, Automated Systems Mgr.,
                              Mary Couts Burnett Library, TCU
                              address@hidden


------------- Beginning of GIF file output with -SOURCE -----------------

Dump of file DISK$UTILITY:[HTTPD.CGI]TEST3.TMP;1 on 21-NOV-1996 12:24:28.03
File ID (9812,23,0)   End of file block 16 / Allocated 16

Record number 1 (00000001), 810 (032A) bytes, RFA(0001,0000,0000)

 00 00 00 00 00 F7 00 82 00 62 61 37 38 46 49 47 GIF87ab........ 000000
 18 39 00 39 C6 00 00 00 00 39 84 00 00 39 00 00 ..9...9....Æ9.9. 000010
 39 39 39 39 39 84 39 00 29 29 29 39 39 00 18 18 ...99))).9.99999 000020
 52 52 52 39 39 84 00 84 00 C6 39 39 42 42 42 84 .BBB99Æ....99RRR 000030
 63 C6 84 00 C6 39 84 84 84 00 84 39 84 39 84 00 ..9.9.....9Æ..Æc 000040
 7B 7B 39 84 84 C6 84 39 84 84 39 39 84 39 63 63 cc9.99..9.Æ..9{{ 000050
 39 C6 39 8C 8C 8C C6 84 84 C6 C6 00 84 C6 00 7B {.Æ..ÆÆ..Æ...9Æ9 000060
 C6 9C 9C 9C C6 C6 39 84 84 C6 84 C6 39 FF 84 84 ...9Æ.Æ..9ÆÆ...Æ 000070
 AD AD 84 C6 84 FF 84 C6 39 C6 84 FF C6 39 C6 84 .Æ9Æ..Æ9Æ...Æ. 000080
 C6 FF 39 FF C6 84 84 FF 39 C6 C6 84 39 FF 39 AD 9.9.ÆÆ9...Æ.9.Æ 000090
 FF C6 FF 84 FF C6 C6 84 FF 84 C6 C6 C6 84 C6 C6 ÆÆ.ÆÆÆ...ÆÆ...Æ. 0000A0

                           ...

------------- Beginning of GIF file output with -MIME_HEADER -----------------
{records 1-8 were the MIME header}

Record number 9 (00000009), 79 (004F) bytes, RFA(0001,0000,00A7)

 29 39 39 39 39 C6 39 39 F7 62 61 37 38 46 49 47 GIF87ab99Æ9999) 000000
 39 39 C6 39 39 42 42 42 39 39 39 39 39 39 29 29 ))999999BBB99Æ99 000010
 C6 39 39 39 39 63 63 63 C6 C6 39 39 39 52 52 52 RRR999ÆÆccc9999Æ 000020
 39 C6 C6 39 FF 39 C6 39 C6 C6 C6 C6 7B 7B 7B 39 9{{{ÆÆÆÆ9Æ9.9ÆÆ9 000030
    AD AD AD C6 FF C6 39 C6 FF C6 39 C6 C6 C6 C6 ÆÆÆÆ9Æ.Æ9Æ.Æ. 000040

Record number 10 (0000000A), 79 (004F) bytes, RFA(0001,0000,00F7)

 C6 C6 C6 C6 C6 FF 39 FF C6 FF 39 C6 C6 39 FF 39 9.9ÆÆ9.Æ.9.ÆÆÆÆÆ 000000
 C6 C6 FF C6 FF FF C6 C6 FF C6 FF FF C6 C6 FF C6 Æ.ÆÆ..Æ.ÆÆ..Æ.ÆÆ 000010
 55 D5 55 AA 55 55 55 55 C6 FF FF EF EF EF FF FF ..ïïï..ÆUUUUªUÕU 000020
 FF 55 AA D5 55 AA AA 55 AA 55 AA 55 55 AA 55 FF .UªUUªUªUªªUÕªU. 000030
    55 D5 D5 55 D5 AA 55 D5 55 D5 55 55 D5 55 AA ªUÕUUÕUÕUªÕUÕÕU. 000040

                                 ...

                                -###-
;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]