Request default mimetype for .ogv

Today we got a .ogv file to serve via a servicestack website. The request for the .ogv failed with a ‘forbidden 403’ error.
I managed to get is working by adding the .ogv to the allowed extensions. Please add it to the default extension.

My fix:

  MimeTypes.ExtensionMimeTypes["ogv"] = "video/ogg";     
  var afe = Config.AllowFileExtensions;

  SetConfig(new HostConfig
    AllowFileExtensions = afe,

Added in this and this commits.

1 Like