Skip to content

Instantly share code, notes, and snippets.

@IMSoP IMSoP/force-http-1-0.php Secret

Created May 21, 2020
Embed
What would you like to do?
<?php
$options = [
'http' => [
'protocol_version' => '1.0'
],
];
$context = stream_context_create($options);
echo file_get_contents('http://example.org', false, $context);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.