Skip to content

Instantly share code, notes, and snippets.

@keturn
Created January 29, 2010 19:42
Show Gist options
  • Save keturn/290037 to your computer and use it in GitHub Desktop.
Save keturn/290037 to your computer and use it in GitHub Desktop.
squid and curl fight
== curl --trace multipart-fail.log -F "source={}" http://127.0.0.1:3003/jslint
== Info: About to connect() to proxy 127.0.0.1 port 3128 (#0)
== Info: Trying 127.0.0.1... == Info: connected
== Info: Connected to 127.0.0.1 (127.0.0.1) port 3128 (#0)
=> Send header, 342 bytes (0x156)
0000: 50 4f 53 54 20 68 74 74 70 3a 2f 2f 31 32 37 2e POST http://127.
0010: 30 2e 30 2e 31 3a 33 30 30 33 2f 6a 73 6c 69 6e 0.0.1:3003/jslin
0020: 74 20 48 54 54 50 2f 31 2e 31 0d 0a 55 73 65 72 t HTTP/1.1..User
0030: 2d 41 67 65 6e 74 3a 20 63 75 72 6c 2f 37 2e 31 -Agent: curl/7.1
0040: 39 2e 35 20 28 78 38 36 5f 36 34 2d 70 63 2d 6c 9.5 (x86_64-pc-l
0050: 69 6e 75 78 2d 67 6e 75 29 20 6c 69 62 63 75 72 inux-gnu) libcur
0060: 6c 2f 37 2e 31 39 2e 35 20 4f 70 65 6e 53 53 4c l/7.19.5 OpenSSL
0070: 2f 30 2e 39 2e 38 67 20 7a 6c 69 62 2f 31 2e 32 /0.9.8g zlib/1.2
0080: 2e 33 2e 33 20 6c 69 62 69 64 6e 2f 31 2e 31 35 .3.3 libidn/1.15
0090: 0d 0a 48 6f 73 74 3a 20 31 32 37 2e 30 2e 30 2e ..Host: 127.0.0.
00a0: 31 3a 33 30 30 33 0d 0a 41 63 63 65 70 74 3a 20 1:3003..Accept:
00b0: 2a 2f 2a 0d 0a 50 72 6f 78 79 2d 43 6f 6e 6e 65 */*..Proxy-Conne
00c0: 63 74 69 6f 6e 3a 20 4b 65 65 70 2d 41 6c 69 76 ction: Keep-Aliv
00d0: 65 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 e..Content-Lengt
00e0: 68 3a 20 31 34 33 0d 0a 45 78 70 65 63 74 3a 20 h: 143..Expect:
00f0: 31 30 30 2d 63 6f 6e 74 69 6e 75 65 0d 0a 43 6f 100-continue..Co
0100: 6e 74 65 6e 74 2d 54 79 70 65 3a 20 6d 75 6c 74 ntent-Type: mult
0110: 69 70 61 72 74 2f 66 6f 72 6d 2d 64 61 74 61 3b ipart/form-data;
0120: 20 62 6f 75 6e 64 61 72 79 3d 2d 2d 2d 2d 2d 2d boundary=------
0130: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
0140: 2d 2d 2d 2d 2d 2d 35 38 34 65 35 61 62 32 64 33 ------584e5ab2d3
0150: 65 35 0d 0a 0d 0a e5....
== Info: HTTP 1.0, assume close after body
<= Recv header, 33 bytes (0x21)
0000: 48 54 54 50 2f 31 2e 30 20 34 31 37 20 45 78 70 HTTP/1.0 417 Exp
0010: 65 63 74 61 74 69 6f 6e 20 66 61 69 6c 65 64 0d ectation failed.
0020: 0a .
<= Recv header, 27 bytes (0x1b)
0000: 53 65 72 76 65 72 3a 20 73 71 75 69 64 2f 32 2e Server: squid/2.
0010: 37 2e 53 54 41 42 4c 45 36 0d 0a 7.STABLE6..
<= Recv header, 37 bytes (0x25)
0000: 44 61 74 65 3a 20 46 72 69 2c 20 32 39 20 4a 61 Date: Fri, 29 Ja
0010: 6e 20 32 30 31 30 20 31 39 3a 33 31 3a 35 30 20 n 2010 19:31:50
0020: 47 4d 54 0d 0a GMT..
<= Recv header, 25 bytes (0x19)
0000: 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 74 65 Content-Type: te
0010: 78 74 2f 68 74 6d 6c 0d 0a xt/html..
<= Recv header, 22 bytes (0x16)
0000: 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 Content-Length:
0010: 31 36 31 39 0d 0a 1619..
<= Recv header, 34 bytes (0x22)
0000: 58 2d 53 71 75 69 64 2d 45 72 72 6f 72 3a 20 45 X-Squid-Error: E
0010: 52 52 5f 49 4e 56 41 4c 49 44 5f 52 45 51 20 30 RR_INVALID_REQ 0
0020: 0d 0a ..
<= Recv header, 37 bytes (0x25)
0000: 58 2d 43 61 63 68 65 3a 20 4d 49 53 53 20 66 72 X-Cache: MISS fr
0010: 6f 6d 20 67 72 69 6e 6b 79 2e 61 73 69 61 6e 70 om grinky.asianp
0020: 65 61 72 0d 0a ear..
<= Recv header, 49 bytes (0x31)
0000: 58 2d 43 61 63 68 65 2d 4c 6f 6f 6b 75 70 3a 20 X-Cache-Lookup:
0010: 4e 4f 4e 45 20 66 72 6f 6d 20 67 72 69 6e 6b 79 NONE from grinky
0020: 2e 61 73 69 61 6e 70 65 61 72 3a 33 31 32 38 0d .asianpear:3128.
0030: 0a .
<= Recv header, 52 bytes (0x34)
0000: 56 69 61 3a 20 31 2e 30 20 67 72 69 6e 6b 79 2e Via: 1.0 grinky.
0010: 61 73 69 61 6e 70 65 61 72 3a 33 31 32 38 20 28 asianpear:3128 (
0020: 73 71 75 69 64 2f 32 2e 37 2e 53 54 41 42 4c 45 squid/2.7.STABLE
0030: 36 29 0d 0a 6)..
<= Recv header, 19 bytes (0x13)
0000: 43 6f 6e 6e 65 63 74 69 6f 6e 3a 20 63 6c 6f 73 Connection: clos
0010: 65 0d 0a e..
<= Recv header, 2 bytes (0x2)
0000: 0d 0a ..
<= Recv data, 1619 bytes (0x653)
0000: 3c 21 44 4f 43 54 59 50 45 20 68 74 6d 6c 20 50 <!DOCTYPE html P
0010: 55 42 4c 49 43 20 22 2d 2f 2f 57 33 43 2f 2f 44 UBLIC "-//W3C//D
0020: 54 44 20 48 54 4d 4c 20 34 2e 30 31 2f 2f 45 4e TD HTML 4.01//EN
0030: 22 20 22 68 74 74 70 3a 2f 2f 77 77 77 2e 77 33 " "http://www.w3
0040: 2e 6f 72 67 2f 54 52 2f 68 74 6d 6c 34 2f 73 74 .org/TR/html4/st
0050: 72 69 63 74 2e 64 74 64 22 3e 20 3c 68 74 6d 6c rict.dtd"> <html
0060: 3e 3c 68 65 61 64 3e 20 3c 6d 65 74 61 20 68 74 ><head> <meta ht
0070: 74 70 2d 65 71 75 69 76 3d 22 43 6f 6e 74 65 6e tp-equiv="Conten
0080: 74 2d 54 79 70 65 22 20 63 6f 6e 74 65 6e 74 3d t-Type" content=
0090: 22 74 65 78 74 2f 68 74 6d 6c 3b 20 63 68 61 72 "text/html; char
00a0: 73 65 74 3d 75 74 66 2d 38 22 3e 20 3c 74 69 74 set=utf-8"> <tit
00b0: 6c 65 3e 45 52 52 4f 52 3a 20 54 68 65 20 72 65 le>ERROR: The re
00c0: 71 75 65 73 74 65 64 20 55 52 4c 20 63 6f 75 6c quested URL coul
00d0: 64 20 6e 6f 74 20 62 65 20 72 65 74 72 69 65 76 d not be retriev
00e0: 65 64 3c 2f 74 69 74 6c 65 3e 20 3c 73 74 79 6c ed</title> <styl
00f0: 65 20 74 79 70 65 3d 22 74 65 78 74 2f 63 73 73 e type="text/css
0100: 22 3e 3c 21 2d 2d 20 20 20 25 6c 20 20 62 6f 64 "><!-- %l bod
0110: 79 20 3a 6c 61 6e 67 28 66 61 29 20 7b 20 64 69 y :lang(fa) { di
0120: 72 65 63 74 69 6f 6e 3a 20 72 74 6c 3b 20 66 6f rection: rtl; fo
0130: 6e 74 2d 73 69 7a 65 3a 20 31 30 30 25 3b 20 66 nt-size: 100%; f
0140: 6f 6e 74 2d 66 61 6d 69 6c 79 3a 20 54 61 68 6f ont-family: Taho
0150: 6d 61 2c 20 52 6f 79 61 2c 20 73 61 6e 73 2d 73 ma, Roya, sans-s
0160: 65 72 69 66 3b 20 66 6c 6f 61 74 3a 20 72 69 67 erif; float: rig
0170: 68 74 3b 20 7d 20 3a 6c 61 6e 67 28 68 65 29 20 ht; } :lang(he)
0180: 7b 20 64 69 72 65 63 74 69 6f 6e 3a 20 72 74 6c { direction: rtl
0190: 3b 20 66 6c 6f 61 74 3a 20 72 69 67 68 74 3b 20 ; float: right;
01a0: 7d 20 20 2d 2d 3e 3c 2f 73 74 79 6c 65 3e 20 3c } --></style> <
01b0: 2f 68 65 61 64 3e 3c 62 6f 64 79 3e 20 3c 64 69 /head><body> <di
01c0: 76 20 69 64 3d 22 74 69 74 6c 65 73 22 3e 20 3c v id="titles"> <
01d0: 68 31 3e 45 52 52 4f 52 3c 2f 68 31 3e 20 3c 68 h1>ERROR</h1> <h
01e0: 32 3e 54 68 65 20 72 65 71 75 65 73 74 65 64 20 2>The requested
01f0: 55 52 4c 20 63 6f 75 6c 64 20 6e 6f 74 20 62 65 URL could not be
0200: 20 72 65 74 72 69 65 76 65 64 3c 2f 68 32 3e 20 retrieved</h2>
0210: 3c 2f 64 69 76 3e 20 3c 68 72 3e 20 20 3c 64 69 </div> <hr> <di
0220: 76 20 69 64 3d 22 63 6f 6e 74 65 6e 74 22 3e 20 v id="content">
0230: 3c 70 3e 3c 62 3e 49 6e 76 61 6c 69 64 20 52 65 <p><b>Invalid Re
0240: 71 75 65 73 74 3c 2f 62 3e 20 65 72 72 6f 72 20 quest</b> error
0250: 77 61 73 20 65 6e 63 6f 75 6e 74 65 72 65 64 20 was encountered
0260: 77 68 69 6c 65 20 74 72 79 69 6e 67 20 74 6f 20 while trying to
0270: 70 72 6f 63 65 73 73 20 74 68 65 20 72 65 71 75 process the requ
0280: 65 73 74 3a 3c 2f 70 3e 20 20 3c 62 6c 6f 63 6b est:</p> <block
0290: 71 75 6f 74 65 20 69 64 3d 22 64 61 74 61 22 3e quote id="data">
02a0: 20 3c 70 72 65 3e 50 4f 53 54 20 2f 6a 73 6c 69 <pre>POST /jsli
02b0: 6e 74 20 48 54 54 50 2f 31 2e 31 0a 55 73 65 72 nt HTTP/1.1.User
02c0: 2d 41 67 65 6e 74 3a 20 63 75 72 6c 2f 37 2e 31 -Agent: curl/7.1
02d0: 39 2e 35 20 28 78 38 36 5f 36 34 2d 70 63 2d 6c 9.5 (x86_64-pc-l
02e0: 69 6e 75 78 2d 67 6e 75 29 20 6c 69 62 63 75 72 inux-gnu) libcur
02f0: 6c 2f 37 2e 31 39 2e 35 20 4f 70 65 6e 53 53 4c l/7.19.5 OpenSSL
0300: 2f 30 2e 39 2e 38 67 20 7a 6c 69 62 2f 31 2e 32 /0.9.8g zlib/1.2
0310: 2e 33 2e 33 20 6c 69 62 69 64 6e 2f 31 2e 31 35 .3.3 libidn/1.15
0320: 0d 0a 48 6f 73 74 3a 20 31 32 37 2e 30 2e 30 2e ..Host: 127.0.0.
0330: 31 3a 33 30 30 33 0d 0a 41 63 63 65 70 74 3a 20 1:3003..Accept:
0340: 2a 2f 2a 0d 0a 50 72 6f 78 79 2d 43 6f 6e 6e 65 */*..Proxy-Conne
0350: 63 74 69 6f 6e 3a 20 4b 65 65 70 2d 41 6c 69 76 ction: Keep-Aliv
0360: 65 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 e..Content-Lengt
0370: 68 3a 20 31 34 33 0d 0a 45 78 70 65 63 74 3a 20 h: 143..Expect:
0380: 31 30 30 2d 63 6f 6e 74 69 6e 75 65 0d 0a 43 6f 100-continue..Co
0390: 6e 74 65 6e 74 2d 54 79 70 65 3a 20 6d 75 6c 74 ntent-Type: mult
03a0: 69 70 61 72 74 2f 66 6f 72 6d 2d 64 61 74 61 3b ipart/form-data;
03b0: 20 62 6f 75 6e 64 61 72 79 3d 2d 2d 2d 2d 2d 2d boundary=------
03c0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
03d0: 2d 2d 2d 2d 2d 2d 35 38 34 65 35 61 62 32 64 33 ------584e5ab2d3
03e0: 65 35 0d 0a 3c 2f 70 72 65 3e 20 3c 2f 62 6c 6f e5..</pre> </blo
03f0: 63 6b 71 75 6f 74 65 3e 20 20 3c 70 3e 53 6f 6d ckquote> <p>Som
0400: 65 20 70 6f 73 73 69 62 6c 65 20 70 72 6f 62 6c e possible probl
0410: 65 6d 73 20 61 72 65 3a 3c 2f 70 3e 20 3c 75 6c ems are:</p> <ul
0420: 3e 20 3c 6c 69 3e 3c 70 3e 4d 69 73 73 69 6e 67 > <li><p>Missing
0430: 20 6f 72 20 75 6e 6b 6e 6f 77 6e 20 72 65 71 75 or unknown requ
0440: 65 73 74 20 6d 65 74 68 6f 64 2e 3c 2f 70 3e 3c est method.</p><
0450: 2f 6c 69 3e 20 3c 6c 69 3e 3c 70 3e 4d 69 73 73 /li> <li><p>Miss
0460: 69 6e 67 20 55 52 4c 2e 3c 2f 70 3e 3c 2f 6c 69 ing URL.</p></li
0470: 3e 20 3c 6c 69 3e 3c 70 3e 4d 69 73 73 69 6e 67 > <li><p>Missing
0480: 20 48 54 54 50 20 49 64 65 6e 74 69 66 69 65 72 HTTP Identifier
0490: 20 28 48 54 54 50 2f 31 2e 30 29 2e 3c 2f 70 3e (HTTP/1.0).</p>
04a0: 3c 2f 6c 69 3e 20 3c 6c 69 3e 3c 70 3e 52 65 71 </li> <li><p>Req
04b0: 75 65 73 74 20 69 73 20 74 6f 6f 20 6c 61 72 67 uest is too larg
04c0: 65 2e 3c 2f 70 3e 3c 2f 6c 69 3e 20 3c 6c 69 3e e.</p></li> <li>
04d0: 3c 70 3e 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 <p>Content-Lengt
04e0: 68 20 6d 69 73 73 69 6e 67 20 66 6f 72 20 50 4f h missing for PO
04f0: 53 54 20 6f 72 20 50 55 54 20 72 65 71 75 65 73 ST or PUT reques
0500: 74 73 2e 3c 2f 70 3e 3c 2f 6c 69 3e 20 3c 6c 69 ts.</p></li> <li
0510: 3e 3c 70 3e 49 6c 6c 65 67 61 6c 20 63 68 61 72 ><p>Illegal char
0520: 61 63 74 65 72 20 69 6e 20 68 6f 73 74 6e 61 6d acter in hostnam
0530: 65 3b 20 75 6e 64 65 72 73 63 6f 72 65 73 20 61 e; underscores a
0540: 72 65 20 6e 6f 74 20 61 6c 6c 6f 77 65 64 2e 3c re not allowed.<
0550: 2f 70 3e 3c 2f 6c 69 3e 20 3c 2f 75 6c 3e 20 20 /p></li> </ul>
0560: 3c 70 3e 59 6f 75 72 20 63 61 63 68 65 20 61 64 <p>Your cache ad
0570: 6d 69 6e 69 73 74 72 61 74 6f 72 20 69 73 20 3c ministrator is <
0580: 61 20 68 72 65 66 3d 22 6d 61 69 6c 74 6f 3a 6b a href="mailto:k
0590: 65 76 69 6e 74 25 57 22 3e 6b 65 76 69 6e 74 3c evint%W">kevint<
05a0: 2f 61 3e 2e 3c 2f 70 3e 20 3c 62 72 3e 20 3c 2f /a>.</p> <br> </
05b0: 64 69 76 3e 20 20 3c 68 72 3e 20 3c 64 69 76 20 div> <hr> <div
05c0: 69 64 3d 22 66 6f 6f 74 65 72 22 3e 20 3c 70 3e id="footer"> <p>
05d0: 47 65 6e 65 72 61 74 65 64 20 46 72 69 2c 20 32 Generated Fri, 2
05e0: 39 20 4a 61 6e 20 32 30 31 30 20 31 39 3a 33 31 9 Jan 2010 19:31
05f0: 3a 35 30 20 47 4d 54 20 62 79 20 67 72 69 6e 6b :50 GMT by grink
0600: 79 2e 61 73 69 61 6e 70 65 61 72 20 28 73 71 75 y.asianpear (squ
0610: 69 64 2f 32 2e 37 2e 53 54 41 42 4c 45 36 29 3c id/2.7.STABLE6)<
0620: 2f 70 3e 20 3c 21 2d 2d 20 45 52 52 5f 49 4e 56 /p> <!-- ERR_INV
0630: 41 4c 49 44 5f 52 45 51 20 2d 2d 3e 20 3c 2f 64 ALID_REQ --> </d
0640: 69 76 3e 20 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d iv> </body></htm
0650: 6c 3e 20 l>
== Info: Closing connection #0
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>ERROR: The requested URL could not be retrieved</title> <style type="text/css"><!-- %l body :lang(fa) { direction: rtl; font-size: 100%; font-family: Tahoma, Roya, sans-serif; float: right; } :lang(he) { direction: rtl; float: right; } --></style> </head><body> <div id="titles"> <h1>ERROR</h1> <h2>The requested URL could not be retrieved</h2> </div> <hr> <div id="content"> <p><b>Invalid Request</b> error was encountered while trying to process the request:</p> <blockquote id="data"> <pre>POST /jslint HTTP/1.1
User-Agent: curl/7.19.5 (x86_64-pc-linux-gnu) libcurl/7.19.5 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.15
Host: 127.0.0.1:3003
Accept: */*
Proxy-Connection: Keep-Alive
Content-Length: 143
Expect: 100-continue
Content-Type: multipart/form-data; boundary=----------------------------8ac3fdec0c5a
</pre> </blockquote> <p>Some possible problems are:</p> <ul> <li><p>Missing or unknown request method.</p></li> <li><p>Missing URL.</p></li> <li><p>Missing HTTP Identifier (HTTP/1.0).</p></li> <li><p>Request is too large.</p></li> <li><p>Content-Length missing for POST or PUT requests.</p></li> <li><p>Illegal character in hostname; underscores are not allowed.</p></li> </ul> <p>Your cache administrator is <a href="mailto:kevint%W">kevint</a>.</p> <br> </div> <hr> <div id="footer"> <p>Generated Fri, 29 Jan 2010 19:39:08 GMT by grinky.asianpear (squid/2.7.STABLE6)</p> <!-- ERR_INVALID_REQ --> </div> </body></html>
ERROR
The requested URL could not be retrieved
--------------------------------------------------------------------------
Invalid Request error was encountered while trying to process the request:
POST /jslint HTTP/1.1
User-Agent: curl/7.19.5 (x86_64-pc-linux-gnu) libcurl/7.19.5 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.15
Host: 127.0.0.1:3003
Accept: */*
Proxy-Connection: Keep-Alive
Content-Length: 143
Expect: 100-continue
Content-Type: multipart/form-data; boundary=----------------------------8ac3fdec0c5a
Some possible problems are:
* Missing or unknown request method.
* Missing URL.
* Missing HTTP Identifier (HTTP/1.0).
* Request is too large.
* Content-Length missing for POST or PUT requests.
* Illegal character in hostname; underscores are not allowed.
Your cache administrator is [1]keturn.
--------------------------------------------------------------------------
Generated Fri, 29 Jan 2010 19:39:08 GMT by squidhost.mydomain
(squid/2.7.STABLE6)
== curl --trace curl-win.log -d "source={}" http://127.0.0.1:3003/jslint
== Info: About to connect() to proxy 127.0.0.1 port 3128 (#0)
== Info: Trying 127.0.0.1... == Info: connected
== Info: Connected to 127.0.0.1 (127.0.0.1) port 3128 (#0)
=> Send header, 281 bytes (0x119)
0000: 50 4f 53 54 20 68 74 74 70 3a 2f 2f 31 32 37 2e POST http://127.
0010: 30 2e 30 2e 31 3a 33 30 30 33 2f 6a 73 6c 69 6e 0.0.1:3003/jslin
0020: 74 20 48 54 54 50 2f 31 2e 31 0d 0a 55 73 65 72 t HTTP/1.1..User
0030: 2d 41 67 65 6e 74 3a 20 63 75 72 6c 2f 37 2e 31 -Agent: curl/7.1
0040: 39 2e 35 20 28 78 38 36 5f 36 34 2d 70 63 2d 6c 9.5 (x86_64-pc-l
0050: 69 6e 75 78 2d 67 6e 75 29 20 6c 69 62 63 75 72 inux-gnu) libcur
0060: 6c 2f 37 2e 31 39 2e 35 20 4f 70 65 6e 53 53 4c l/7.19.5 OpenSSL
0070: 2f 30 2e 39 2e 38 67 20 7a 6c 69 62 2f 31 2e 32 /0.9.8g zlib/1.2
0080: 2e 33 2e 33 20 6c 69 62 69 64 6e 2f 31 2e 31 35 .3.3 libidn/1.15
0090: 0d 0a 48 6f 73 74 3a 20 31 32 37 2e 30 2e 30 2e ..Host: 127.0.0.
00a0: 31 3a 33 30 30 33 0d 0a 41 63 63 65 70 74 3a 20 1:3003..Accept:
00b0: 2a 2f 2a 0d 0a 50 72 6f 78 79 2d 43 6f 6e 6e 65 */*..Proxy-Conne
00c0: 63 74 69 6f 6e 3a 20 4b 65 65 70 2d 41 6c 69 76 ction: Keep-Aliv
00d0: 65 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 e..Content-Lengt
00e0: 68 3a 20 39 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 h: 9..Content-Ty
00f0: 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f pe: application/
0100: 78 2d 77 77 77 2d 66 6f 72 6d 2d 75 72 6c 65 6e x-www-form-urlen
0110: 63 6f 64 65 64 0d 0a 0d 0a coded....
=> Send data, 9 bytes (0x9)
0000: 73 6f 75 72 63 65 3d 7b 7d source={}
== Info: HTTP 1.0, assume close after body
<= Recv header, 17 bytes (0x11)
0000: 48 54 54 50 2f 31 2e 30 20 32 30 30 20 4f 4b 0d HTTP/1.0 200 OK.
0010: 0a .
<= Recv header, 26 bytes (0x1a)
0000: 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 74 65 Content-Type: te
0010: 78 74 2f 70 6c 61 69 6e 0d 0a xt/plain..
<= Recv header, 20 bytes (0x14)
0000: 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 Content-Length:
0010: 33 39 0d 0a 39..
<= Recv header, 37 bytes (0x25)
0000: 58 2d 43 61 63 68 65 3a 20 4d 49 53 53 20 66 72 X-Cache: MISS fr
0010: 6f 6d 20 67 72 69 6e 6b 79 2e 61 73 69 61 6e 70 om grinky.asianp
0020: 65 61 72 0d 0a ear..
<= Recv header, 49 bytes (0x31)
0000: 58 2d 43 61 63 68 65 2d 4c 6f 6f 6b 75 70 3a 20 X-Cache-Lookup:
0010: 4d 49 53 53 20 66 72 6f 6d 20 67 72 69 6e 6b 79 MISS from grinky
0020: 2e 61 73 69 61 6e 70 65 61 72 3a 33 31 32 38 0d .asianpear:3128.
0030: 0a .
<= Recv header, 52 bytes (0x34)
0000: 56 69 61 3a 20 31 2e 31 20 67 72 69 6e 6b 79 2e Via: 1.1 grinky.
0010: 61 73 69 61 6e 70 65 61 72 3a 33 31 32 38 20 28 asianpear:3128 (
0020: 73 71 75 69 64 2f 32 2e 37 2e 53 54 41 42 4c 45 squid/2.7.STABLE
0030: 36 29 0d 0a 6)..
== Info: HTTP/1.0 connection set to keep alive!
<= Recv header, 24 bytes (0x18)
0000: 43 6f 6e 6e 65 63 74 69 6f 6e 3a 20 6b 65 65 70 Connection: keep
0010: 2d 61 6c 69 76 65 0d 0a -alive..
== Info: HTTP/1.0 proxy connection set to keep alive!
<= Recv header, 30 bytes (0x1e)
0000: 50 72 6f 78 79 2d 43 6f 6e 6e 65 63 74 69 6f 6e Proxy-Connection
0010: 3a 20 6b 65 65 70 2d 61 6c 69 76 65 0d 0a : keep-alive..
<= Recv header, 2 bytes (0x2)
0000: 0d 0a ..
<= Recv data, 39 bytes (0x27)
0000: 6a 73 6c 69 6e 74 3a 20 4e 6f 20 70 72 6f 62 6c jslint: No probl
0010: 65 6d 73 20 66 6f 75 6e 64 20 69 6e 20 75 6e 64 ems found in und
0020: 65 66 69 6e 65 64 0a efined.
== Info: Connection #0 to host 127.0.0.1 left intact
== Info: Closing connection #0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment