Re: 421 Misdirected Request / empty reply from H2FileServerExample

2023-03-22 Thread Shaw, Ryan
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 [

421 Misdirected Request / empty reply from H2FileServerExample

2023-03-22 Thread Shaw, Ryan
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