cURL cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

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

From: Daniel Stenberg <bagder_at_users.sf.net>
Date: Mon, 06 Oct 2014 13:42:00 +0000

My example _did_ only output headers and no body. Can you please provide me with an example against a public URL that repeats the problem you're talking about?

How is END_STREAM related to how we output headers or not?

---
** [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 Oct 06, 2014 01:37 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-06

These mail archives are generated by hypermail.