I have a WordPress instance on my development box with the WP REST API plugin installed. I am attempting to create my own plugin to use wp_remote_get() to communicate...
  • May 11, 2022
  • 0 Comments
I’ve looked around but haven’t been able to figure out if I should use both an ETag and an Expires Header or one or the other. What I’m trying...
  • May 10, 2022
  • 0 Comments
I’m not sure if this is a bug or if I’m missing anything. But according to the documentation for WP_Http::request(), you should be able to set the HTTP protocol...
  • May 10, 2022
  • 0 Comments
Well, this one seems quite simple, and it is. All you have to do to download a file to your server is: file_put_contents("Tmpfile.zip", file_get_contents("http://someurl/file.zip")); Only there is one problem....
  • May 10, 2022
  • 0 Comments
I need to send a CSV file in HTTP response. How can I set the output response as CSV format? This is not working: Response.ContentType = "application/CSV"; 11 Answers...
  • May 10, 2022
  • 0 Comments
Is there an accepted maximum allowed size for HTTP headers? If so, what is it? If not, is this something that’s server specific or is the accepted standard to...
  • May 10, 2022
  • 0 Comments
Are there any major differences in performance between http and https? I seem to recall reading that HTTPS can be a fifth as fast as HTTP. Is this valid...
  • May 9, 2022
  • 0 Comments
My Java standalone application gets a URL (which points to a file) from the user and I need to hit it and download it. The problem I am facing...
  • May 9, 2022
  • 0 Comments