Browse files

added explanation of HTTP_* keys computing

  • Loading branch information...
1 parent 20cd530 commit 5ba65eef30bca42c1d71eb4f47e3d7f0d6212430 @polettix polettix committed Jun 25, 2011
Showing with 5 additions and 0 deletions.
  1. +5 −0 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|>.
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|>.

0 comments on commit 5ba65ee

Please sign in to comment.