Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added explanation of HTTP_* keys computing

  • Loading branch information...
commit 5ba65eef30bca42c1d71eb4f47e3d7f0d6212430 1 parent 20cd530
@polettix polettix authored
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.