in reply to File I/O question
You need an empty line between the last header and the content. And of course, you need a line end after the content type header. BTW: You should not use \n for network linefeeds, but \015\012. The former depends on the O/S, the latter doesn't, it always generates the required byte sequence. (\n works most of the time, because most servers are quite tolerant.)
Alexander
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: File I/O question
by ikegami (Patriarch) on Jul 07, 2009 at 17:31 UTC | |
|
Re^2: File I/O question
by sierpinski (Chaplain) on Jul 07, 2009 at 17:14 UTC | |
by hnd (Scribe) on Jul 08, 2009 at 11:06 UTC |