Closed m0x3 closed 2 years ago
Yes I see it's not editable. We'll have a look to fix that. In the meantime you can try to switch the request engine and try it with socket
or stream
engine instead of curl:
$web = \Web::instance();
$web->engine('stream');
$web->request('https://domain.com');
These do accept the same $options array as curl.
ref.: https://github.com/bcosca/fatfree-core/blob/cdd878db018280369b643fce62f70e55044f9ac4/web.php#L362
@m0x3 added option in latest commit. You can adjust the value with the encoding
key in the $options array for request method.
I need NOT send gzip,deflate, cause it makes troubles on other side, but f3 always sends gzip,deflate.