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

Re: Marinetti 'casper' - How do I use it?



Steven Hirsch wrote:

(snip about binary files and HTTP, I wrote)

I know that I can transfer non-HTTP binary files using
"save link target as" after right clicking on a link.

I haven't thought about why no HTTP headers are added before.

D'oh... Yes, now that I think about it all the client cares about is that the header has correctly provided the length in bytes. From that point on, "it's all just data". What I'm still not clear on is how a client browser "tells" the server that it's _sending_ binary information and expects it to end up in a file.

Usually it doesn't care about the length, but reads until the TCP
connection is closed.  There was some interest in transferring more
than one page (file) on one TCP connection, but mostly that isn't done.

-- glen