Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added explanation of HTTP_* keys computing

  • Loading branch information...
commit a0add0ec652e1316b931cd15cd13b54d4264589d 1 parent 615470a
@polettix polettix authored committed
Showing with 5 additions and 0 deletions.
  1. +5 −0 PSGI.pod
View
5 PSGI.pod
@@ -196,6 +196,11 @@ HTTP request headers. The presence or absence of these keys should
correspond to the presence or absence of the appropriate HTTP header
in the request.
+The key is obtained converting the HTTP header field name to upper
+case, replacing all occurrences of hyphens C<-> with
+underscores C<_> and prepending C<HTTP_>, as in
+L<RFC 3875|http://www.ietf.org/rfc/rfc3875>.
+
If there are multiple header lines sent with the same key, the server
should treat them as if they were sent in one line and combine them
with C<, >, as in L<RFC 2616|http://www.ietf.org/rfc/rfc2616>.
Please sign in to comment.
Something went wrong with that request. Please try again.