09.11.2016 Views

Foundations of Python Network Programming 978-1-4302-3004-5

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

■ INDEX<br />

Design Pattern, 187<br />

detecting directories in FTP, 301<br />

DF flag, 13<br />

DHCP nameserver information, 64<br />

dictionaries, passing, 311, 312, 315<br />

dictionary keys, 111<br />

digest authentication, 158<br />

digest multipart subtype, 256<br />

dir(), 299<br />

directories<br />

creating/deleting, 302<br />

information in FTP, 300–302<br />

renaming, 302<br />

DirectoriesFTP, 299<br />

display_structure(), 257<br />

Dive into <strong>Python</strong>, 138<br />

Django<br />

caching errrors, 155<br />

interface, 191<br />

tables and, 187<br />

URL dispatch, 189<br />

django-cache-utils, 128<br />

DNS (Domain Name System), 63–70<br />

disadvantages, 65<br />

Dynamic DNS, 70<br />

load balancing and, 117<br />

mail domains, 66, 67, 68<br />

man-in-the-middle attacks, 91<br />

multicast, 64, 70<br />

uses, 66<br />

Zeroconf, 70<br />

dnspython, 66<br />

DocXMLRPCServer, 193, 308<br />

DOM (Domain Object Module), 169<br />

Domain Name System. See DNS<br />

domain names, 51, 59, 63-70.<br />

See also hostnames<br />

Domain Object Module, 169<br />

don't fragment flag. See DF flag<br />

don't route socket option, 32<br />

downloading<br />

FTP, 291–303<br />

messages with IMAP, 243, 250–57, 250<br />

messages with POP, 239<br />

recursive, 291, 301<br />

urllib2, 293<br />

web page content, 163–67. See also screen<br />

scraping<br />

\Draft flag, 257, 259<br />

DRAFT search criteria, 259<br />

duck typing, 192<br />

duplicate requests<br />

protecting against with request IDs, 27<br />

in UDP, 23, 27<br />

Dynamic DNS, 70<br />

dynamic web page elements, 181, 191, 193<br />

dyndns.com, 70<br />

dyndnsc, 70<br />

■ E<br />

edit(), 190<br />

editing, command-line, 272<br />

EHLO, 228–29, 230, 233<br />

element trees, HTML, 167, 168–73<br />

ElementTree, 169, 174<br />

elm, 218<br />

e-mail. See also headers, e-mail<br />

authentication, 219, 221, 232, 235, 245<br />

clients, 218<br />

composing, 200–202, 206–8<br />

decoding, 213–16<br />

deleting folders, 260<br />

deleting messages, 239, 258<br />

downloading messages, 239, 250–57<br />

EHLO, 228–29<br />

encryption, 230–32<br />

error handling, 225–28, 233<br />

flags, IMAP, 243, 244, 247, 249, 251, 257<br />

flags, POP, 235, 237, 239<br />

folders, 243, 247, 249, 260<br />

history, 197, 217–20<br />

IMAP, 243–62<br />

327

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!