Changeset 497

Show
Ignore:
Timestamp:
07/16/08 11:13:54 (4 months ago)
Author:
bellmich
Message:

- completed SAN mimetype support
- replaced explicit mimetypes by macros

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libsyncml/transports/http_server.c

    r491 r497  
    330330        switch (data->type) { 
    331331                case SML_MIMETYPE_XML: 
    332                         content_type = "application/vnd.syncml+xml"
     332                        content_type = SML_ELEMENT_XML
    333333                        break; 
    334334                case SML_MIMETYPE_WBXML: 
    335                         content_type = "application/vnd.syncml+wbxml"; 
     335                        content_type = SML_ELEMENT_WBXML; 
     336                        break; 
     337                case SML_MIMETYPE_SAN: 
     338                        content_type = SML_ELEMENT_SAN; 
    336339                        break; 
    337340                default: