Foundations of Python Network Programming

(WallPaper) #1

CSS and JavaScript, 188
definition, 188


/ tag, 188
features, 189
Google Chrome, 189–190
Inspect Element, 190
list element, 188
Hypertext Transfer Protocol
Secure (HTTPS), 153
„„„„„„„„„I, J, K

Ian Bicking’s WebOb library, 163
IMAP. See Internet Message
Access Protocol (IMAP)
IMAP4rev1, 268
IMAP4_SSL object, 106
IMAPClient, 270
Internet Assigned Numbers Authority (IANA), 18
Internet Control Message Protocol (ICMP), 15
Internet Message Access Protocol (IMAP), 243
advantages, 267
e-mail folders, 268
Python Standard Library
asynchrony, 286
download mail, 275
EXISTS, 274
fetch(), 281
FLAGS, 274
folder information, 274
folders examination, 272
folders and messages manipulation, 285
IMAPClient, 270, 277–281
List command, 268–269
message deletion, 283
message flags, 283
message ranges, 273
MIME parts, 281
MIXED value, 282
numbers vs. UIDs, 273
PERMANENTFLAGS, 274
RECENT, 274
search() method, 284
UIDNEXT, 274
UIDVALIDITY, 274
UNSEEN, 274


„„„„„„„„„L

Legacy module asyncore, 131
Listening sockets, 41, 45
listen() method, 45
load_default_certs() method, 101


„„„„„„„„„M

Maximum transmission unit (MTU), 15, 21, 32
Memcached
default port, 138
expensive operation, 139
RAM storage, 140
set() and get() operation, 138
sharding, 137
SQL query, 140
too old, 140
Message queue protocols
AMQP protocol, 144
judge and pythagoras, 148
Monte Carlo method, 145
ØMQ Messaging Fabric, 146
pipeline topology, 143
publisher-subscriber/fanout topology, 144
publish-subscribe topology, 145
request-reply pattern, 144
socket operations, 147
tally workers, 148
third-party libraries, 144
missing_host_key() method, 306
Monte Carlo method, 145
Multiplexing, 17
Multipurpose Internet Mail
Extensions (MIME) version, 227

„„„„„„„„„N

Network data
binary numbers and byte order, 79
bytes, 75–76
character strings
ASCII characters, 76
decoding, 77
multibyte encodings, 77–78
single-byte encoding, 77
Standard Library documentation, 79
compression, 87
unused_data, 88
zlib facility, 87
exceptions (see Network exceptions)
framing, 81
data delivery, 81
data streaming, 83
fixed-length messages, 83
HTTP protocol, 85
issues of, 81
sendall() and close(), 81
JSON format, 87
network standards, 75
pickle load() function, 86

■ index


352


Hypertext Markup Language (HTML) (cont.)

Free download pdf