Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
wget (like my browser) fails to get the file, but cURL does just fine.
$ wget
--2017-12-14 17:00:18--
Resolving, 2a04:4e42:14::403
Connecting to||:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-12-14 17:00:18 ERROR 404: Not Found.
$ curl -O
% 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">
<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>
<script src="script.js"></script>
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.