1<testcase> 2<info> 3<keywords> 4netrc 5HTTP 6</keywords> 7</info> 8# 9# Server-side 10<reply> 11<data crlf="yes" nocheck="yes"> 12HTTP/1.1 200 OK 13Date: Tue, 09 Nov 2010 14:49:00 GMT 14Server: test-server/fake 15Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT 16ETag: "21025-dc7-39462498" 17Accept-Ranges: bytes 18Content-Length: 6 19Connection: close 20Content-Type: text/html 21Funny-head: yesyes 22 23-foo- 24</data> 25</reply> 26 27# 28# Client-side 29<client> 30<server> 31http 32</server> 33<features> 34proxy 35</features> 36 37# Reproducing issue 15496 38<name> 39HTTP with .netrc using duped easy handle 40</name> 41<tool> 42lib%TESTNUMBER 43</tool> 44<command> 45http://github.com %LOGDIR/netrc%TESTNUMBER http://%HOSTIP:%HTTPPORT/ 46</command> 47<file name="%LOGDIR/netrc%TESTNUMBER" > 48 49machine github.com 50 51login daniel 52password $y$j9T$WUVjiVvDbRAWafDLs6cab1$01NX.oaZKf5lw8MR2Nk9Yaxv4CqbE0IaDF.GpGxPul1 53</file> 54</client> 55 56<verify> 57<protocol> 58GET http://github.com/ HTTP/1.1 59Host: github.com 60Authorization: Basic %b64[daniel:$y$j9T$WUVjiVvDbRAWafDLs6cab1$01NX.oaZKf5lw8MR2Nk9Yaxv4CqbE0IaDF.GpGxPul1]b64% 61Accept: */* 62Proxy-Connection: Keep-Alive 63 64</protocol> 65</verify> 66</testcase> 67