We are currently performing maintenance on our servers, you may experience some connection errors. We apologize for any inconvenience.
| Sign In/My Account | View Cart |
|
|
We've expanded our Perl news coverage and improved our search! Search for all things Perl across O'Reilly!
21.5. Interrogating Headers21.5.3. DiscussionFor example, suppose you want to discover the client's preferred language (as sent in the Accept-Language header).
If you want to access more than one header, use the $r->headers_in method, which returns a list of key-value pairs of all clients' request headers, which are typically assigned to a hash:
View the past week's recipes: Today | Yesterday | 3 days ago | 4 days ago | 5 days ago | 6 days ago | A week ago |
|
Sponsored By: |