Hi @episod, first thanks for answering. My retries are done one every 30 seconds or so, so i don’t think it’s very aggressive.
The header part is abstracted by the class so i’m not 100% sure, but here the output i receive.
(
[raw] => HTTP/1.1 100 Continue
[headers] => Array
(
[HTTP/1.1 100 Continue] =>
[] =>
)
[code] => 100
[response] =>
[info] => Array
(
[url] => https://api.twitter.com/1.1/statuses/update_with_media.json
[content_type] =>
[http_code] => 100
[header_size] => 25
[request_size] => 600
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 10.277178
[namelookup_time] => 1.6E-5
[connect_time] => 0.043826
[pretransfer_time] => 0.139648
[size_upload] => 24428
[size_download] => 0
[speed_download] => 0
[speed_upload] => 2376
[download_content_length] => -1
[upload_content_length] => 24428
[starttransfer_time] => 0.183696
[redirect_time] => 0
[certinfo] => Array
(
)
[request_header] => POST /1.1/statuses/update_with_media.json HTTP/1.1
User-Agent: app-name
Host: api.twitter.com
Accept: /
Accept-Encoding: deflate, gzip
Authorization: OAuth oauth_consumer_key="-------", oauth_nonce="------", oauth_signature="-------", oauth_signature_method=“HMAC-SHA1”, oauth_timestamp="-----", oauth_token="----", oauth_version="1.0"
Content-Length: 24428
Expect: 100-continue
Content-Type: multipart/form-data; boundary=----------------------------024eafa72fab
)
[error] => Operation timed out after 10000 milliseconds with 0 bytes received
[errno] => 28
)