Ticket #10618: xslt_mime.patch

File xslt_mime.patch, 597 bytes (added by Alex Halovanic <halovanic@…>, 8 years ago)

Add mime type for xslt extension to built in server

  • mythtv/libs/libmythupnp/httprequest.cpp

    diff --git a/mythtv/libs/libmythupnp/httprequest.cpp b/mythtv/libs/libmythupnp/httprequest.cpp
    index e0a93cc..4885de3 100644
    a b static MIMETypes g_MIMETypes[] = 
    6262    { "qjs" , "application/javascript"     },
    6363    { "txt" , "text/plain"                 },
    6464    { "xml" , "text/xml"                   },
     65    { "xslt", "text/xml"                   },
    6566    { "pdf" , "application/pdf"            },
    6667    { "avi" , "video/avi"                  },
    6768    { "css" , "text/css"                   },