Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
wget (like my browser) fails to get the file, but cURL does just fine.
$ wget https://zegnat.github.io/JS-Relations/index.html
--2017-12-14 17:00:18-- https://zegnat.github.io/JS-Relations/index.html
Resolving zegnat.github.io... 151.101.85.147, 2a04:4e42:14::403
Connecting to zegnat.github.io|151.101.85.147|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-12-14 17:00:18 ERROR 404: Not Found.
$ curl -O https://zegnat.github.io/JS-Relations/index.html
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 345 100 345 0 0 345 0 0:00:01 --:--:-- 0:00:01 726
$ cat index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Country's and City's</title>
</head>
<body>
<script src="script.js"></script>
</body>
</html>
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.