The MWHttpRequest is implemented by the CurlHttpRequest class and also the GuzzleHttpRequest class. However, curl based rendering set the CURLOPT_POST which implies that the 'Content-Type' header defaults to 'application/x-www-form-urlencoded'. To homgonize the functionality this patch mimics the curl behaviour in Guzzle. Bug: T232866 Change-Id: Id60a8de18e5f1e750a3bde23bd8b0deca4071165 |
||
|---|---|---|
| .. | ||
| CurlHttpRequest.php | ||
| GuzzleHttpRequest.php | ||
| Http.php | ||
| HttpRequestFactory.php | ||
| MWCallbackStream.php | ||
| MWHttpRequest.php | ||
| PhpHttpRequest.php | ||