I have an http request to a canister (via the http_request and http_request_update methods) that I purposefully do not want to have certification for and so I have been adding the no certification validation args to the IC-CertificateExpression header in order to avoid certification on those methods. The problem is that the request still fails with the following error:
Response verification failed: Certification values not found
Looking through the spec https://internetcomputer.org/docs/references/http-gateway-protocol-spec#response-verification-outline it seems like this is by design. The very first thing it does is check that you have a valid certificate set up in the IC-Certificate header, and it isn’t until step 7 and 8 that it looks for the IC-CertificateExpression to see if the certification has been turned off. So even though I am not doing any certification I am still required to provide all of the certification info for steps 1-6 to succeed. It feels like it would make more sense to check the IC-CertificateExpression as the very first step so that if it’s turned off it’s not required to supply anything else.
Which repository would be best to open an issue in to request that the order of the Response Verification procedure be modified to support that?
Additional Context
Normally I would use the raw subdomain to work around this but in my WSL environment localhost subdomains aren’t resolving properly. Using the IC-CertificateExpression seemed like it would provide the solution I needed, but as explained above, the order of resolution is giving me some trouble.