summaryrefslogtreecommitdiffstats
path: root/vendor/paypal/paypal-checkout-sdk/lib/PayPalCheckoutSdk/Core/GzipInjector.php
blob: f1d43396d54dc1185d85d38e9f1c91f3891d76ee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php

namespace PayPalCheckoutSdk\Core;


use PayPalHttp\Injector;

class GzipInjector implements Injector
{
    public function inject($httpRequest)
    {
        $httpRequest->headers["Accept-Encoding"] = "gzip";
    }
}