cURL cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1429 http/2 headers/body printing

From: Scott Mitchell <scottmitch3_at_users.sf.net>
Date: Wed, 01 Oct 2014 18:53:21 +0000

I am able to see the connection statistics but I am still not seeing response headers (or any other content in your example). I am using the latest on master. Should I be using a specific tag?

>$ curl --version
curl 7.38.1-DEV (x86_64-unknown-linux-gnu) libcurl/7.38.1-DEV OpenSSL/1.0.2 zlib/1.2.8 nghttp2/0.6.2-DEV
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP HTTP2

>$ curl --http2 https://nghttp2.org/ -i -o dump
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
100 17763 100 17763 0 0 15441 0 0:00:01 0:00:01 --:--:-- 15486

---
** [bugs:#1429] http/2 headers/body printing**
**Status:** pending-needsinfo
**Labels:** http2 
**Created:** Mon Sep 29, 2014 02:46 PM UTC by Scott Mitchell
**Last Updated:** Mon Sep 29, 2014 08:39 PM UTC
**Owner:** Daniel Stenberg
It seems in some scenarios curl is not printing out request/response headers and body content.  For example the following request is invalid and correctly prints out the response headers:
>$ curl --http2 -k 'https://10.0.2.2:13443/proxy/address' -d 'INVALID CONTENT' -i
HTTP/2.0 400
server:http2query2
However the following 2 requests are valid but does not print out any response headers:
>$ curl --http2 -k 'https://10.0.2.2:13443/proxy/address' -d 'VALID CONTENT' -i
$
$ curl --http2 -k 'https://10.0.2.2:13443/proxy/address' -d 'VALID CONTENT' -s -D -
$
Also the body is not printed in the second case.
---
Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
Received on 2014-10-01

These mail archives are generated by hypermail.