Search Results for: Frames
file', last=true) the above script is fairly simple: upon receiving the headers frame, handle_headers is run. this checks for a header called 'test' and checks if it is set to 'pass'. if true, it will immediately send a response header, otherwise it responds with a 403 and ends the stream. any data frames
the main api difference lies in the h2responsewriter which is accessed through response.writer write_headers(self, headers, status_code, status_message=none, stream_id=none, last=false): p write a header frame using the h2 connection object, will only work if the stream is in a state to send header frames...
https://web-platform-tests.org/writing-tests/h2tests.html