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

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



glen herrmannsfeldt wrote:
Jeff Blakeney wrote:

(snip)

Anything sent via HTTP will have HTTP headers.  That is part of the
HTTP.  If you send data without those headers, you are no longer sending
via HTTP anymore.  There is also no encoding done by an HTTP server.
Encoded data can be transfered but it is never encoded by the HTTP
server unless you are talking about an HTTPS server which does do some
encoding for security but that is a different transfer protocol.

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.

At one point, I probably knew all this, but I spend my days in an entirely different area of software development and haven't really thought about Web coding in years.

Steve