<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: HTTPD: how are Content-Type and Content-Encoding HTTP headers set ? in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/HTTPD-how-are-Content-Type-and-Content-Encoding-HTTP-headers-set/m-p/239790#M6744</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Mar 2013 14:18:16 GMT</pubDate>
    <dc:creator>alexandrevincon</dc:creator>
    <dc:date>2013-03-26T14:18:16Z</dc:date>
    <item>
      <title>HTTPD: how are Content-Type and Content-Encoding HTTP headers set ?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/HTTPD-how-are-Content-Type-and-Content-Encoding-HTTP-headers-set/m-p/239788#M6742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am currently studying the "httpsrv" example project from MQX 4.0 and I would like to know how the HTTPD server determines the value of Content-Type in the HTTP reply's header ? Is it deduced from the extension of the file, ie ".html" files automatically lead to "text/html" and ".js" files to "application/javascript" ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I would like to try and gzip the pages to gain some space. Is the Content-Encoding header set to "gzip" in this case ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks to anyone who can answer !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;AV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2013 16:22:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/HTTPD-how-are-Content-Type-and-Content-Encoding-HTTP-headers-set/m-p/239788#M6742</guid>
      <dc:creator>alexandrevincon</dc:creator>
      <dc:date>2013-03-25T16:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: HTTPD: how are Content-Type and Content-Encoding HTTP headers set ?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/HTTPD-how-are-Content-Type-and-Content-Encoding-HTTP-headers-set/m-p/239789#M6743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi AV,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c:\Freescale\Freescale_MQX_4_0\rtcs\source\httpd\httpd_supp.c&lt;/P&gt;&lt;P&gt;function httpd_sendfile()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Contenttype is based on the file extension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2013 10:17:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/HTTPD-how-are-Content-Type-and-Content-Encoding-HTTP-headers-set/m-p/239789#M6743</guid>
      <dc:creator>Martin_</dc:creator>
      <dc:date>2013-03-26T10:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: HTTPD: how are Content-Type and Content-Encoding HTTP headers set ?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/HTTPD-how-are-Content-Type-and-Content-Encoding-HTTP-headers-set/m-p/239790#M6744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2013 14:18:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/HTTPD-how-are-Content-Type-and-Content-Encoding-HTTP-headers-set/m-p/239790#M6744</guid>
      <dc:creator>alexandrevincon</dc:creator>
      <dc:date>2013-03-26T14:18:16Z</dc:date>
    </item>
  </channel>
</rss>

