Menu

#4 Added content-types to Atache

open
nobody
None
5
2003-09-27
2003-09-27
No

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

Discussion

  • Wolfgang Fuschlberger

     
  • Wolfgang Fuschlberger

    Logged In: YES
    user_id=805942

    oops...
    here is the file

     

Log in to post a comment.