Summary

In this chapter you learned to use the HTTP protocol to achieve a couple of new effects. After examining how web pages are fetched, you learned that parameters could be passed in the URL and what kinds of identification information is sent in the HTTP request. On the server side, by adding a redirection header or a cookie header to the HTTP response, you can redirect the browser elsewhere or send cookies.

Get SAMS Teach Yourself Perl in 24 Hours THIRD EDITION now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.