class PyPiContentValidator extends ComponentSupport implements ContentValidator {

  @Nonnull
  @Override
  public String determineContentType(final boolean strictContentTypeValidation,
                                     final Supplier<InputStream> contentSupplier,
                                     @Nullable final MimeRulesSource mimeRulesSource,
                                     @Nullable final String contentName,
                                     @Nullable final String declaredContentType) throws IOException
  {
    String name = modifyContentNameForSpecialCases(contentName);
    return defaultContentValidator
        .determineContentType(strictContentTypeValidation, contentSupplier, mimeRulesSource, name, declaredContentType);
  }

  @Inject public  PyPiContentValidator(final DefaultContentValidator defaultContentValidator);

}