[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Marinetti 'casper' - How do I use it?
To: Steven Hirsch
On Wed, 10 Oct 2007 09:51:58 -0400, Steven Hirsch wrote:
> 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".
Yes, the Content-Length header tells the client how much data follows
the header.
> 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.
That's what the Content-Type header is for. There are lots of types
that a browser or its plug ins can display (ie. text/html) but if the
browser doesn't recognize the Content-Type it will usually display a
message asking the user what they want to do with that type of 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.
It is amazing how quickly we can forget things. I actually had to
double check to make sure I had the name of the headers I mentioned in
this message correct before posting it. :-)
--- Synchronet 3.14a-Win32 NewsLink 1.85
A2Central.com - Your total source for Apple II computing.