Skip to content

make the client more configurable

Latest
Compare
Choose a tag to compare
@sillydong sillydong released this 14 Feb 07:18
  • add configuration AllowedContentTypes, the validating process is keyword search.
  • add configuration AllowedFileExtensions, the file extension will get from url's path, the validating process is suffix check.
  • add configuration InsecureSkipVerify, the default value is false. We use to force skip certification verify, but after adding this configuration, the default behavior would be validate certifications.