doc: fix http2 sample code in http2.md
Fixed http2 doc. There were some mistakes of the sample codes in doc/http2.md
Please check this PR and merge this.
changes
- fix http2 sample code used in doc/http2.md
Checklist
-
documentation is changed or added -
commit message follows commit guidelines
Affected core subsystem(s)
doc,http2