Answered Add new MIME type in TMG 2010

  • Saturday, December 08, 2012 4:29 PM
     
     

    I need to publish an application that requires HTTP Compression using TMG 2010. The application is a web service that communicate through JSON queries and responses.

    Compression is defined by content type, and content types is based on MIME types. Ideally I would like to enable compression for application/json MIME type, but that is not in the list in my TMG server.

    Is there a way to add own MIME types in TMG?


All Replies

  • Saturday, December 08, 2012 4:37 PM
     
     

    Hi,

    http://technet.microsoft.com/de-de/library/cc441541.aspx


    regards Marc Grote aka Jens Baier - www.it-training-grote.de - www.forefront-tmg.de - www.nt-faq.de

  • Saturday, December 08, 2012 6:19 PM
     
     

    Thanks Marc, that is the description how to add new content types.

    However, I want to add more MIME types to use in my new content type. The application/json is not in the list.

  • Monday, December 10, 2012 12:36 PM
     
     Answered

    It is actually pretty easy.

    Instead of selecting a MIME type from the dropdown list, just type application/json in the text box and click add.


    Hth, Anders Janson Enfo Zipper

    • Marked As Answer by kallelundberg Tuesday, December 11, 2012 8:44 AM
    •  
  • Monday, December 10, 2012 9:14 PM
     
     
    Do you need to create a new MIME type for those objects to be cacheable?
  • Tuesday, December 11, 2012 8:44 AM
     
     

    You are so very correct... This was rather embarrassing... :)

    To by defence, I was not at the keyboard at the moment. I was flying behind in a teamviewer session.

    Thank you!