Workshop

Quiz

1: To do server push, what functions need to be used from the CGI module?
  1. multipart_start and multipart_end

  2. multipart_init, multipart_start, and multipart_end

  3. push_start and push_end

2: All browsers support client pull because it's part of the HTML standard.
  1. True

  2. False

3: Cache proxies are guaranteed not to cache what kinds of Web pages?
  1. Responses from an HTML form that uses the POST method

  2. Server-pushed content

  3. Any CGI program's output

Answers

A1: b. The multipart_init is used to get the browser ready for a multipart Web pages. The multipart_start and multipart_end mark the beginning and ending of each such page.
A2: b. Quite False. The <META> tags can be ignored by browsers, so says the standard. Also, using the -Refresh option in ...

Get Sams Teach Yourself Perl in 24 Hours 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.