Permalink
Browse files

The body string should be encoded, not containing any wide characters

  • Loading branch information...
1 parent 090788e commit 21a1479d62bc0a27a8cdbd757fa6daaa0231f95a @miyagawa miyagawa committed Jun 17, 2011
Showing with 4 additions and 2 deletions.
  1. +4 −2 PSGI.pod
View
@@ -437,8 +437,10 @@ value can then be appended to the list of headers returned by the application.
=head4 Body
-The response body B<MUST> be returned from the application as either an array
-reference or a handle.
+The response body B<MUST> be returned from the application as either
+an array reference or a handle containing the response body as byte
+strings. The body B<MUST> be encoded into appropriate encodings and
+B<MUST NOT> contain wide characters (> 255).
=over 4

0 comments on commit 21a1479

Please sign in to comment.