<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:΢ÈíÑźÚ
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><h2 style="font-size: 26px; font-weight: normal; margin: 0px; font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; background-color: white; border: 0px; padding: 0.3em 0px; ">21.12.3. Examples</h2><div style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; font-size: 14px; line-height: 23px; background-color: rgb(255, 255, 255); "><pre style="line-height: 18px; white-space: pre-wrap; overflow-x: auto; overflow-y: hidden; padding: 5px; background-color: rgb(238, 255, 204); border: 1px solid rgb(170, 204, 153); font-family: monospace, sans-serif; font-size: 15px; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; color: rgb(51, 51, 51); "><span class="gp" style="color: rgb(198, 93, 9); font-weight: bold; display: inline; ">>>> </span><span class="n">data</span> <span class="o" style="color: rgb(102, 102, 102); ">==</span> <span class="n">b</span><span class="s" style="color: rgb(64, 112, 160); ">''</span>
<span class="go" style="display: inline; ">True</span></pre></div><div style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; font-size: 14px; line-height: 23px; background-color: rgb(255, 255, 255); ">may be:</div><div style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; font-size: 14px; line-height: 23px; background-color: rgb(255, 255, 255); "><font size="4" style="line-height: 30px; ">print(data ==b'')</font></div><div style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; font-size: 14px; line-height: 23px; background-color: rgb(255, 255, 255); "><br></div><div style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; font-size: 14px; line-height: 23px; background-color: rgb(255, 255, 255); "><br></div><div style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; font-size: 14px; line-height: 23px; background-color: rgb(255, 255, 255); "><br></div><div style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; font-size: 14px; line-height: 23px; background-color: rgb(255, 255, 255); ">url : <a href="https://docs.python.org/3.4/library/http.client.html#httpresponse-objects" target="_blank" style="outline: none; cursor: pointer; color: rgb(102, 58, 13); ">https://docs<wbr>.python.org/<wbr>3.4/library/<wbr>http.client.<wbr>html#httpres<wbr>ponse-object<wbr>s</a></div> </div></body>
</html>