<h1 style="background-color: white; border: 0px; margin: 0px; padding: 0.3em 0px; line-height: normal; font-weight: normal; font-size: 32px; font-family: 'Lucida Grande', Arial, sans-serif; color: rgb(26, 26, 26); "></h1><h2 style="background-color: white; font-weight: normal; border: 0px; margin: 0px; padding: 0.3em 0px; font-size: 26px; ">21.12.3. Examples</h2><div><pre style="overflow-x: auto; overflow-y: hidden; padding: 5px; background-color: rgb(238, 255, 204); line-height: 18px; 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>may be:</div><div><font size="4">print(data ==b'')</font></div><div><br></div><div><br></div><div><br></div><div>url : https://docs.python.org/3.4/library/http.client.html#httpresponse-objects</div>