Skip to content

Commit

Permalink
Don't send partial data to QUIC.cloud (#797)
Browse files Browse the repository at this point in the history
  • Loading branch information
tynanbe authored Jan 23, 2025
1 parent 47584a1 commit d31cc5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cloud.cls.php
Original file line number Diff line number Diff line change
Expand Up @@ -1349,7 +1349,7 @@ private function _post($service, $data = false, $time_out = false)
$response = wp_remote_post($url, array(
'body' => $param,
'timeout' => $time_out ?: 15,
'headers' => array('Accept' => 'application/json'),
'headers' => array('Accept' => 'application/json', 'Expect' => ''),
));

return $this->_parse_response($response, $service, $service_tag, $server);
Expand Down

0 comments on commit d31cc5b

Please sign in to comment.