Skip to content

Instantly share code, notes, and snippets.

@gartha1
Created July 28, 2022 19:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gartha1/94d8c8a4826386f85014e39c3035afac to your computer and use it in GitHub Desktop.
Save gartha1/94d8c8a4826386f85014e39c3035afac to your computer and use it in GitHub Desktop.
C:\curl\bin>curl --verbose http://1.2.3.4/vvv/v.v
* Trying 1.2.3.4:80...
* Connected to 1.2.3.4 (1.2.3.4) port 80 (#0)
> GET /vvv/v.v HTTP/1.1
> Host: 1.2.3.4
> User-Agent: curl/7.75.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Date: Thu, 28 Jul 2022 19:52:21 GMT
< Server: Apache/2.4.41 (Ubuntu)
< Last-Modified: Thu, 28 Jul 2022 19:23:41 GMT
< ETag: "5-5e4e278ab4416"
< Accept-Ranges: bytes
< Content-Length: 5
<
sdfs
* Connection #0 to host 1.2.3.4 left intact
C:\curl\bin>
-----------------------------------------------------------------------------
----------------------------------------------------------------------
C:\blah>wget -v -d http://1.2.3.4/vvv/v.v
SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc
syswgetrc = C:\Program Files (x86)\GnuWin32/etc/wgetrc
DEBUG output created by Wget 1.11.4 on Windows-MinGW.
--2022-07-28 20:45:04-- http://1.2.3.4/vvv/v.v
seconds 0.00, Connecting to 1.2.3.4:80... seconds 0.00, connected.
Created socket 172.
Releasing 0x004baef8 (new refcount 0).
Deleting unused 0x004baef8.
---request begin---
GET /vvv/v.v HTTP/1.0
User-Agent: Wget/1.11.4
Accept: */*
Host: 1.2.3.4
Connection: Keep-Alive
---request end---
HTTP request sent, awaiting response...
---response begin---
HTTP/1.1 200 OK
Date: Thu, 28 Jul 2022 19:45:11 GMT
Server: Apache/2.4.41 (Ubuntu)
Last-Modified: Thu, 28 Jul 2022 19:23:41 GMT
ETag: "5-5e4e278ab4416"
Accept-Ranges: bytes
Content-Length: 5
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
---response end---
200 OK
Registered socket 172 for persistent reuse.
Length: 5
Saving to: `v.v.2'
100%[==================================================================================================>] 5 --.-K/s in 0s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment