From quick look at source mechanics seem very similar, my first suggestion for WP would be to try and bump HTTP transport to curl (I do it with plugin in WP so no idea about specific code).
curl seems to be considerably more robust for corner cases and it’s not WP’s first choice.
Related Posts:
- Is curl required?
- Should a 502 HTTP status code be used if a proxy receives no response at all?
- What is the difference between a URI, a URL and a URN?
- HTTP Status 504
- What is the difference between POST and GET? [duplicate]
- Do I need Content-Type: application/octet-stream for file download?
- Problem HTTP error 403 in Python 3 Web Scraping
- application/x-www-form-urlencoded or multipart/form-data?
- Problem HTTP error 403 in Python 3 Web Scraping
- application/x-www-form-urlencoded or multipart/form-data?
- Is 418 “I’m a teapot” really an HTTP response code?
- How to define the basic HTTP authentication using cURL correctly?
- How to define the basic HTTP authentication using cURL correctly?
- “Cannot GET /” with Connect on Node.js
- “CAUTION: provisional headers are shown” in Chrome debugger
- What’s the difference between a POST and a PUT HTTP REQUEST?
- How do I send a POST request with PHP?
- Why is it said that “HTTP is a stateless protocol”?
- What’s the difference between using application/csv vs text/csv? [duplicate]
- What are all the possible values for HTTP “Content-Type” header?
- What is the difference between PUT, POST and PATCH?
- What’s the difference between “Request Payload” vs “Form Data” as seen in Chrome dev tools Network tab
- Exception in thread “main” java.net.NoRouteToHostException: No route to host
- ndroid 8: Cleartext HTTP traffic not permitted
- Can PHP cURL retrieve response headers AND body in a single request?
- Setting Curl’s Timeout in PHP
- How are parameters sent in an HTTP POST request?
- Why am I suddenly getting a “Blocked loading mixed active content” issue in Firefox?
- wget: unable to resolve host address `http’
- Are HTTP headers case-sensitive?
- When looking at the differences between X-Auth-Token vs Authorization headers, which is preferred?
- WordPress HTTP parameter pollution
- Does WordPress send data about your blog to WordPress.org or Automattic?
- Hiding WordPress REST API v2 endpoints from public viewing
- Does WordPress only support HTTP 1.1?
- How do I troubleshoot responses with WP HTTP API?
- The resource was preloaded using link preload but not used within a few seconds
- using wp_remote_get to retrieve own url on local host
- Running index.php from command line & load balancer health checks
- Enable CORS in wordpress
- Change port of wordpress
- How to get value of custom http header?
- Several times request to load plugins when sending one request
- why is $_REQUESt[‘redirect_to’] empty?
- Wp Remote get with manual redirect
- Get “HTTP/1.1 406 Not Acceptable” when accesing my website with Delphi Indy Control
- WordPress HTTP 500 Error “page isn’t working”
- What’s the point in having “www” in a URL?
- For what is the “.well-known”-folder?
- Human readable format for http headers with tcpdump
- How to make wireshark filter POST-requests only?
- Image file urls still point to http instead of https
- What is the difference between POST and PUT in HTTP?
- Chrome hangs after certain amount of data transfered – waiting for available socket
- Use of PUT vs PATCH methods in REST API real life scenarios
- How to download a file over HTTP?
- Axios Delete request with body and headers?
- Error: No default engine was specified and no extension was provided
- PHP + curl, HTTP POST sample code?
- Response to preflight request doesn’t pass access control check
- Custom Tumblr theme wont save because of non-https urls?
- Getting “Handshake failed…unexpected packet format” when using WebClient.UploadFile() with “https” when the server has a valid SSL certificate
- nodejs – first argument must be a string or Buffer – when using response.write with http.request
- Simple HTTP server in Java using only Java SE API
- Https to http redirect using htaccess
- “Cross origin requests are only supported for HTTP.” error when loading a local file
- HTTP status code 0 – Error Domain=NSURLErrorDomain?
- How do I use the ‘http_request_host_is_external’ filter
- Serving HTTP and HTTPS from one installation
- WP_Http_Cookie destroys cookie value through urldecode()
- force http canonical tag on https pages
- How to get title tag of an external page with http api?
- Can I use HTTP POSTs? Is there a better alternative?
- 403 error on admin login page
- What would be the best way to implement Magic Link logins in WordPress?
- Is it possible to access the wp-admin from one instance while keeping WP_HOME pointing to the balancing url?
- wrong media url in wordpress
- Allow non-SSL pages to use https or Force non-SSL pages to http?
- wp cron job fires at every second or so, if callback is wrapped with DOING_CRON check it never fires at all
- How can I call specific function if requested URL is not found?
- Any any insecure http:// URLs left in wordpress?
- Implementing a URL Shortener
- Local WordPress with WAMP downloads files out of Nowhere
- Reading URL Parameters
- Display values of current POST request on page
- Website Migration (with https) to a new domain(http)
- Understanding Redirects
- Sudden Upload HTTP errors, PHP uploads and memory limits are already to high to my taste. Anything else?
- WordPress Rest API Error 502
- submitting form to admin-panel.php returns 500 error
- Install plugin on remote wordpress
- Using the JSON API via HTTPS and HTTP
- How to debug new shortcode? And how to get string from shortcode into code?
- The plain HTTP request was sent to HTTPS port in wordpress [closed]
- How to reply with 200 from Nginx, without serving a file?
- How to list Apache enabled modules?
- How do high traffic sites service more than 65535 TCP connections?
- Best way to redirect all HTTP to HTTPS in IIS
- Development to production, how to move a development site from http + dev.example.com to a production site https + example.com?
- How do I make the block editor use https by default?