How do you use an HTTP/HTTPS proxy with boto3?

As of at least version 1.5.79, botocore accepts a proxies argument in the botocore config. e.g. import boto3 from botocore.config import Config boto3.resource(‘s3’, config=Config(proxies={‘https’: ‘foo.bar:3128’})) boto3 resource https://boto3.readthedocs.io/en/latest/reference/core/session.html#boto3.session.Session.resource botocore config https://botocore.readthedocs.io/en/stable/reference/config.html#botocore.config.Config

nginx conditional proxy pass

try this: server { listen 80 default; server_name test.local; location / { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header Host $http_host; if ($request_body ~* ^(.*)\.test) { proxy_pass http://www.google.de; break; } root /srv/http; } }

Charles – How to filter the recording using the “client address” field?

Under Proxy > Recording Settings You can enter specific locations to exclusively record requests to/from using include, or exclude to prevent locations from recording. It’s also possible to blacklist requests as needed by control-clicking in the structure section and selecting ignore. If you want to exclude requests to/from the computer that Charles is running on … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)