mirror of
https://github.com/lwthiker/curl-impersonate.git
synced 2025-08-08 04:42:26 +00:00

HTTP/2 includes various settings pertaining to stream priorities. Chrome and Firefox handle them differently, and this behavior was not mimicked in curl-impersonate well. With this commit, the stream settings set by curl-impersonate are identical to the real browsers. * With Chrome, the default stream weight is 256 and the "exclusive bit" is set to ON. * With Firefox, a complex tree of stream dependencies is created by default using PRIORITY frames. This behavior is now mimicked by curl-impersonate.