Showing results for 
Search instead for 
Did you mean: 
Level 9
Report Inappropriate Content
Message 1 of 3

"MediaType.EnsuredTypes" property in access log

Dear Community,

Could someone tell me how can I insert the "MediaType.EnsuredTypes" property into the access log?

The result of the MediaType.FromHeader property sometimes missing.

[07/Feb/2013:08:59:39 +0000] "" 200 "GET HTTP/1.1" "Streaming Media, Media Sharing" "Minimal Risk" "MediaTypeFromHeader: text/x-cross-domain-policy" 736 721 "Mozilla/5.0 (Windows NT 6.0; rv:17.0) Gecko/20100101 Firefox/17.0" "" "0" ""

[07/Feb/2013:08:59:39 +0000] "" 403 "GET HTTP/1.1" "Content Server" "Unverified" "MediaTypeFromHeader: " 3106 410 "Mozilla/5.0 (Windows NT 6.0; rv:17.0) Gecko/20100101 Firefox/17.0" "" "22" ""

ScreenHunter_01 Feb. 07 10.07.gif


Best Regards


2 Replies

Re: "MediaType.EnsuredTypes" property in access log

Ensured types could contain multiple values. A zip file could return every file type inside the zip for example and should not be used in the access.log because upstream processing/reporting of that could be affected.

+ "" ""

+ String.ReplaceIfEquals (List.OfMediaType.ToString (MediaType.EnsuredTypes, ","), "", "-")

+ """

Level 9
Report Inappropriate Content
Message 3 of 3

Re: "MediaType.EnsuredTypes" property in access log

Thanks for your help!

Best Regards


More McAfee Tools to Help You
  • Subscription Service Notification (SNS)
  • How-to: Endpoint Removal Tool
  • Support: Endpoint Security
  • eSupport: Policy Orchestrator
  • Community Help Hub

      New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

    • Find Forum FAQs
    • Learn How to Earn Badges
    • Ask for Help
    Go to Community Help

    Join the Community

      Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

    • Get helpful solutions from McAfee experts.
    • Stay connected to product conversations that matter to you.
    • Participate in product groups led by McAfee employees.
    Join the Community
    Join the Community