Added content-types to Atache
Status: Beta
Brought to you by:
tomz
I added the following content-types to atache.c:
Content-type: image/gif
Content-type: image/jpg
Content-type: audio/mp3
Content-type: application/x-ogg
Content-type: application/pdf
Content-type: application/vnd.sun.xml.writer
Content-type: application/vnd.stardivision.writer
Content-type: application/zip
The patched atache.c compiles and runs with SDK 5 (on
debian sarge and Sony Clie SJ33).
-----
Another Question: What are those lines for? httphead1
is used nowhere else in the file.
char httphead1[] =
"HTTP/1.1 200 OK\nConnection: close\nContent-type:
application/octet-stream\n\n";
Thanks for the great program
wolfgang
Logged In: YES
user_id=805942
oops...
here is the file