Closed aniruddhagore1984 closed 3 years ago
Hello, currently it is not possible. May I ask what problem you are trying to solve by adding headers?
Hello there,
Thanks for responding. The use case is, I am running a program that makes HTTP calls via the proxy. These calls should contain certain headers (certificate based client auth), but where the device this program is running on does not have those certificate. So I was thinking if I could just put the cert on the server running the proxy and it could attach the required headers for each request.
Do you have any recommendations for awesome free proxies, like yours, that have this fetaure? 🙂
Get Outlook for iOShttps://aka.ms/o0ukef
From: Diladele B.V. @.> Sent: Thursday, April 8, 2021 10:55:28 PM To: diladele/webproxy @.> Cc: aniruddhagore1984 @.>; Author @.> Subject: Re: [diladele/webproxy] Is it possible to add custom headers to all requests? (#219)
Hello, currently it is not possible. May I ask what problem you are trying to solve by adding headers?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdiladele%2Fwebproxy%2Fissues%2F219%23issuecomment-816428998&data=04%7C01%7C%7Cedc222d2fcff4a7665b208d8fb1c144a%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637535445300892918%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=MlsO9iSW9xNVlLWo3v1P9iZFKErKgX%2BvQQgLY7qOu%2Bo%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAPZ63EQRFQHFB2YQIBETS33TH2JFBANCNFSM42T6X22Q&data=04%7C01%7C%7Cedc222d2fcff4a7665b208d8fb1c144a%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637535445300902874%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=%2FeoYy4MY3aSiNJqt0Zp%2FEEBiuuUSV2ZF3YTWuzyy%2FsM%3D&reserved=0.
It seems you need some kind of programmable proxy. The wfp will not do the job.
Hello, I was wondering if there is a way to add custom headers before Web Filtering Proxy forwards my request to the destination? I read through all the content at https://webproxy.diladele.com/docs/ but either did not find a way or could not understand it. Would really appreciate some pointers if it is possible :)