Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

How to get request headers

Post Reply
ForestListener
Posts: 44
Joined: Sun Jul 07, 2019 1:46 pm

How to get request headers

Post by ForestListener »

Hello!

Please, help me to solve the question.

How can i recieve/GET all request headers when i do Chromium1.LoadURL(AnURL); ?

Thank you!
User avatar
salvadordf
Posts: 4571
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: How to get request headers

Post by salvadordf »

Hi,

Use the TChromium.OnBeforeResourceLoad event to inspect the request as you can see here :
https://github.com/salvadordf/CEF4Delph ... r.pas#L470
ForestListener
Posts: 44
Joined: Sun Jul 07, 2019 1:46 pm

Re: How to get request headers

Post by ForestListener »

Thank you, Salvador!
Post Reply