Clarification on HTTP/1.1 Server Response to HTTP/2 Client Connection Preface

Hello,

I am looking for clarification on the expected behaviour in the scenario where a HTTP/2 client incorrect attempts to establish a HTTP/2 connection over cleartext TCP with a HTTP/1.1 server or intermediary. In this scenario, the client's prior knowledge is incorrect and a connection preface is sent as the first interaction after TCP connection.

The specification states "The client connection preface is selected so that a large proportion of HTTP/1.1 or HTTP/1.0 servers and intermediaries do not attempt to process further frames.", however I am unclear on what Response should be issued to the client my scenario above. There appears to be fair arguments for returning either 400, 405 or 505 depending upon the implementation parsing of the Request line.

I understand the connection preface has been crafted in order to provide robust handling of several use cases; such that a range of response codes may be valid dependent upon situation, however may it be useful to expand the paragraph in Section 3.5 to capture this succinctly?

Regards,
Lucas

Received on Wednesday, 27 August 2014 17:29:53 UTC