Ge0rg3 / requests-ip-rotator

A Python library to utilize AWS API Gateway's large IP pool as a proxy to generate pseudo-infinite IPs for web scraping and brute forcing.
https://pypi.org/project/requests-ip-rotator/
GNU General Public License v3.0
1.33k stars 138 forks source link

Can you disable headers X-Amzn-Apigateway-Api-Id and X-Amzn-Trace-Id? #56

Closed solkad closed 1 year ago

solkad commented 1 year ago

I was wondering if it was possible to disable the passing of these two headers:

X-Amzn-Apigateway-Api-Id X-Amzn-Trace-Id

Currently they seem to be passed to the URL being requested. I would like to disable them due to security/footprint reasons.

Ge0rg3 commented 1 year ago

Hi, unfortunately AFAIK you cannot remove these, this is an AWS limitation.