Never mind, the problem was that I was not specifying a Host on my request.
This works:
curl -D - -H 'Host: localhost' --http2-prior-knowledge
'http://[0:0:0:0:0:0:0:0]:8080/foo/bar'
> On Mar 22, 2023, at 12:27 PM, Shaw, Ryan wrote:
>
> Hello,
>
> I am trying to run the H2FileServerExample [
Hello,
I am trying to run the H2FileServerExample [1] and test it out using curl.
However, I only get empty responses back.
Starting the server, I see in the log:
Listening on /[0:0:0:0:0:0:0:0]:8080
Then I use curl to send a request:
curl --http2-prior-knowledge 'http://[0:0:0:0:0:0:0:0]:808