From 481cf2c064412336800e8b5eff968e3714aa3f85 Mon Sep 17 00:00:00 2001
From: Fred Drake <fdrake@acm.org>
Date: Sat, 1 Sep 2001 02:35:23 +0000
Subject: Added the "Host" header to the "GET" example. This closes SF bug
 #457100.

---
 Doc/lib/libhttplib.tex | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Doc/lib/libhttplib.tex b/Doc/lib/libhttplib.tex
index 4a97335..ce69d80 100644
--- a/Doc/lib/libhttplib.tex
+++ b/Doc/lib/libhttplib.tex
@@ -121,6 +121,7 @@ Here is an example session that uses the \samp{GET} method:
 >>> h.putrequest('GET', '/index.html')
 >>> h.putheader('Accept', 'text/html')
 >>> h.putheader('Accept', 'text/plain')
+>>> h.putheader('Host', 'www.cwi.nl')
 >>> h.endheaders()
 >>> errcode, errmsg, headers = h.getreply()
 >>> print errcode # Should be 200
-- 
cgit v0.12

