curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: NetLimiter

From: Paul Gilmartin via curl-users <curl-users_at_cool.haxx.se>
Date: Sun, 2 Feb 2020 12:35:52 -0700

On 2020-02-02, at 07:24:08, Коваленко Анатолий Викторович via curl-users <curl-users_at_cool.haxx.se> wrote:
>
> File exists and can be downloaded by
> curl.exe -OR https://netlimiter.com/files/download/nl4/netlimiter-4.0.59.0.exe,
>
> Also dump-header is available:
> curl.exe -OR -D dump.txt https://netlimiter.com/files/download/nl4/netlimiter-4.0.59.0.exe
>
> But head ONLY is UNavailable:
> curl.exe -I https://netlimiter.com/files/download/nl4/netlimiter-4.0.59.0.exe
> curl: (92) HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
>
> Is it normally? Or bug?
>
This works for me:

522 $ curl --head --output h http://example.com
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
  0 648 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
523 $ cat h
HTTP/1.1 200 OK
Content-Encoding: gzip
Accept-Ranges: bytes
Age: 236370
Cache-Control: max-age=604800
Content-Type: text/html; charset=UTF-8
Date: Sun, 02 Feb 2020 19:32:47 GMT
Etag: "3147526947"
Expires: Sun, 09 Feb 2020 19:32:47 GMT
Last-Modified: Thu, 17 Oct 2019 07:18:26 GMT
Server: ECS (dna/63B4)
X-Cache: HIT
Content-Length: 648

However netlimiter gives me:

524 $ curl --head --output h https://netlimiter.com/files/download/nl4/netlimiter-4.0.59.0.exe
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (92) HTTP/2 stream 1 was not closed cleanly: CANCEL (err 8)

... something is different about NetLimiter.

-- gil

-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2020-02-02