mirror of
				https://github.com/laurivosandi/certidude
				synced 2025-10-31 01:19:11 +00:00 
			
		
		
		
	Add tests for non-existant certificate
This commit is contained in:
		| @@ -18,7 +18,7 @@ class SignedCertificateDetailResource(object): | ||||
|         except EnvironmentError: | ||||
|             logger.warning(u"Failed to serve non-existant certificate %s to %s", | ||||
|                 cn, req.context.get("remote_addr")) | ||||
|             raise falcon.HTTPNotFound("No certificate CN=%s found" % cn) | ||||
|             raise falcon.HTTPNotFound() | ||||
|         else: | ||||
|             if preferred_type == "application/x-pem-file": | ||||
|                 resp.set_header("Content-Type", "application/x-pem-file") | ||||
|   | ||||
		Reference in New Issue
	
	Block a user