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.
Sequence headers in ICefRequest
Sequence headers in ICefRequest
Why can't I change the header sequence in ICEfRequest? For example, I want to set the User-Agent before the content-type, but I can't and the header sequence is too different from what I have set.
- salvadordf
- Posts: 4580
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Sequence headers in ICefRequest
Perhaps Chromium modifies the headers internally.
We can only use the available API to make requests :
https://magpcss.org/ceforum/apidocs3/projects/(default)/CefURLRequest.html
https://magpcss.org/ceforum/apidocs3/projects/(default)/CefRequest.html
We can only use the available API to make requests :
https://magpcss.org/ceforum/apidocs3/projects/(default)/CefURLRequest.html
https://magpcss.org/ceforum/apidocs3/projects/(default)/CefRequest.html
Re: Sequence headers in ICefRequest
I found the problem. ICefStringMultimap sorts headers alphabetically. But why?
- salvadordf
- Posts: 4580
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Sequence headers in ICefRequest
The code in uCEFStringMultimap.pas doesn't have any mention to any sorting method.
Chromium is the responsible of handling the headers in the string multimap.
Chromium is the responsible of handling the headers in the string multimap.