Using the code above, but changing log_uuid("http") to log_uuid("https") we can now make the proxied HTTPS request, HTTPS_PROXY=localhost:8080 SSL_CERT_FILE=~/.mitmproxy/mitmproxy-ca-cert.pem python proxy. ![]() Fortunately for us, we can set another environment variable, SSL_CERT_FILE to use the trust certificates for our specific proxy. This is great, but again, we want to be safe and use HTTPS. Running this flow with HTTP_PROXY will work as expected and show up in the proxy logs, HTTP_PROXY=localhost:8080 python proxy.py Let’s write a basic flow and try the first option, import httpxįrom prefect import task, flow, fetch_uuid(protocol): Maximilian Hils at 8:21 MaximilianHils the entire test framework is built in node/typescript.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |