From b7bda783c54975fa83381cc5ca3c92d1034e78d1 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 21 Mar 2015 23:09:17 +0900 Subject: [PATCH] Update doc --- doc/apiref-header.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/apiref-header.rst b/doc/apiref-header.rst index 8e40d7aa..259f01c1 100644 --- a/doc/apiref-header.rst +++ b/doc/apiref-header.rst @@ -84,6 +84,11 @@ are floating around in existing internet and resetting stream just because of this may break many web sites. This is especially true if we forward to or translate from HTTP/1 traffic. +For "http" or "https" URIs, ":path" pseudo header fields must start +with "/". The only exception is OPTIONS request, in that case, "*" is +allowed in ":path" pseudo header field to represent system-wide +OPTIONS request. + With the above validations, nghttp2 library guarantees that header field name passed to `nghttp2_on_header_callback()` is not empty. Also required pseudo headers are all present and not empty.