You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a HttpException is catch in phpxmlrpc/phpxmlrpc/src/Request.php line 250, the $httpResponse parameter is not initialized correctly :
it is : array('raw_data' => $data, 'status_code', $e->statusCode())
and it should be : array('raw_data' => $data, 'status_code' => $e->statusCode())
'status_code' is the key and $e->statusCode() the value.
How to reproduce :
send an error to your client and debug httpResponse() it is something like this at the end :
When a HttpException is catch in
phpxmlrpc/phpxmlrpc/src/Request.php
line 250, the $httpResponse parameter is not initialized correctly :it is :
array('raw_data' => $data, 'status_code', $e->statusCode())
and it should be :
array('raw_data' => $data, 'status_code' => $e->statusCode())
'status_code'
is the key and$e->statusCode()
the value.How to reproduce :
send an error to your client and debug httpResponse() it is something like this at the end :
And should be :
"status_code" => "429"
The text was updated successfully, but these errors were encountered: