-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathcorsinaction-errata.html
97 lines (90 loc) · 2.91 KB
/
corsinaction-errata.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>CORS in Action: Errata</title>
<link href="http://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css">
<style>
body {
font-family: 'Open Sans', sans-serif;
font-size: 1.2em;
}
#content {
width: 640px;
}
#cover {
float: left;
margin-right: 15px;
border: 0;
width: 150px;
height: 188px;
}
.erratum {
margin-top: 40px;
}
.erratum li {
font-weight: bold;
}
.erratum p {
margin-left: 40px;
}
.signature {
text-align: right;
}
#lastupdated {
margin-top: 80px;
font-style: italic;
}
</style>
</head>
<body>
<div id="content">
<h1>CORS in Action: Errata</h1>
<div id="intro">
<a href="http://www.manning.com/hossain/">
<img id="cover" src="https://manning-content.s3.amazonaws.com/book/6/d94c1cc-7f70-4387-9c65-3979be2b7ada/hossain.png" width="150" height="188" alt="CORS in Action" />
</a>
<p>
Hi there! Thank you for taking the time to read
<a href="http://www.manning.com/hossain/" target="_blank"><i>CORS in Action</i></a>. This page lists errors discovered after publication. If you find any
errors, please report them on the
<a href="https://forums.manning.com/forums/cors-in-action;jsessionid=F0DD6FE64132CF3EBC75E8CD05810CC3" target="_blank">Author Online Forum</a>.
I will continue to update this page as issues are found. Thanks!</p>
<p class="signature">— Monsur Hossain</p>
</div>
<div id="lastupdated">
Last updated: 2016-01-05
</div>
<div class="erratum">
<ul><li>Chapter 2, Listing 2.1:</li></ul>
<p>The labels for "Sends request" and "Processes response" should be switched.
<code>xhr.onload</code> should be labeled as "Processes response", while
<code>xhr.send()</code> should be labeled as "Sends request."</p>
</div>
<div class="erratum">
<ul>
<li>Chapter 4, Section 4.6, page 93 and
Chapter 6, Section 6.6.1, pages 140 & 141:</li>
</ul>
<p>These pages list the maximum preflight cache time as five minutes (for
Chrome, Opera, and Safari). The actual value is 600 seconds, or 10 minutes.
This value can be found in the CrossOriginPreflightResultCache.cpp file for
<a href="https://chromium.googlesource.com/chromium/blink/+/master/Source/core/loader/CrossOriginPreflightResultCache.cpp">Blink</a>
and
<a href="https://github.com/WebKit/webkit/blob/master/Source/WebCore/loader/CrossOriginPreflightResultCache.cpp">WebKit</a>.
</p></div>
<div class="erratum">
<ul>
<li>Chapter 5, Listing 5.2:</li>
</ul>
<p>There is a line of code that reads <code>serverapp.use(cookieParser);</code>.
This line should actually read <code>serverapp.use(cookieParser());</code>.
There are additional parenthesis after <code>cookieParser</code>.
</p></div>
<div id="lastupdated">
Last updated: 2016-01-05
</div>
</div>
</body>
</html>