Samesite - proxy that can cache partial transfers

Hex Artifact Content
anonymous

Hex Artifact Content

Artifact 7fe6229bc88afaaab682a486e4a9605e841918dc1ef4e26778bd7bcd73f239dc:


0000: 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30  Copyright (c) 20
0010: 30 39 2d 32 30 31 30 2c 20 56 6f 6c 6f 64 79 6d  09-2010, Volodym
0020: 79 72 20 4b 6f 73 74 79 72 6b 6f 20 3c 63 2e 6b  yr Kostyrko <c.k
0030: 77 6f 72 72 40 67 6d 61 69 6c 2e 63 6f 6d 3e 0a  worr@gmail.com>.
0040: 41 6c 6c 20 72 69 67 68 74 73 20 72 65 73 65 72  All rights reser
0050: 76 65 64 2e 0a 0a 52 65 64 69 73 74 72 69 62 75  ved...Redistribu
0060: 74 69 6f 6e 20 61 6e 64 20 75 73 65 20 69 6e 20  tion and use in 
0070: 73 6f 75 72 63 65 20 61 6e 64 20 62 69 6e 61 72  source and binar
0080: 79 20 66 6f 72 6d 73 2c 20 77 69 74 68 20 6f 72  y forms, with or
0090: 20 77 69 74 68 6f 75 74 20 6d 6f 64 69 66 69 63   without modific
00a0: 61 74 69 6f 6e 2c 20 61 72 65 20 70 65 72 6d 69  ation, are permi
00b0: 74 74 65 64 20 70 72 6f 76 69 64 65 64 20 74 68  tted provided th
00c0: 61 74 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67  at the following
00d0: 20 63 6f 6e 64 69 74 69 6f 6e 73 20 61 72 65 20   conditions are 
00e0: 6d 65 74 3a 0a 0a 20 2a 20 52 65 64 69 73 74 72  met:.. * Redistr
00f0: 69 62 75 74 69 6f 6e 73 20 6f 66 20 73 6f 75 72  ibutions of sour
0100: 63 65 20 63 6f 64 65 20 6d 75 73 74 20 72 65 74  ce code must ret
0110: 61 69 6e 20 74 68 65 20 61 62 6f 76 65 20 63 6f  ain the above co
0120: 70 79 72 69 67 68 74 20 6e 6f 74 69 63 65 2c 20  pyright notice, 
0130: 74 68 69 73 20 6c 69 73 74 20 6f 66 20 63 6f 6e  this list of con
0140: 64 69 74 69 6f 6e 73 20 61 6e 64 20 74 68 65 20  ditions and the 
0150: 66 6f 6c 6c 6f 77 69 6e 67 20 64 69 73 63 6c 61  following discla
0160: 69 6d 65 72 2e 0a 20 2a 20 52 65 64 69 73 74 72  imer.. * Redistr
0170: 69 62 75 74 69 6f 6e 73 20 69 6e 20 62 69 6e 61  ibutions in bina
0180: 72 79 20 66 6f 72 6d 20 6d 75 73 74 20 72 65 70  ry form must rep
0190: 72 6f 64 75 63 65 20 74 68 65 20 61 62 6f 76 65  roduce the above
01a0: 20 63 6f 70 79 72 69 67 68 74 20 6e 6f 74 69 63   copyright notic
01b0: 65 2c 20 74 68 69 73 20 6c 69 73 74 20 6f 66 20  e, this list of 
01c0: 63 6f 6e 64 69 74 69 6f 6e 73 20 61 6e 64 20 74  conditions and t
01d0: 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 64 69 73  he following dis
01e0: 63 6c 61 69 6d 65 72 20 69 6e 20 74 68 65 20 64  claimer in the d
01f0: 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 20 61 6e 64  ocumentation and
0200: 2f 6f 72 20 6f 74 68 65 72 20 6d 61 74 65 72 69  /or other materi
0210: 61 6c 73 20 70 72 6f 76 69 64 65 64 20 77 69 74  als provided wit
0220: 68 20 74 68 65 20 64 69 73 74 72 69 62 75 74 69  h the distributi
0230: 6f 6e 2e 0a 20 2a 20 4e 6f 20 6e 61 6d 65 73 20  on.. * No names 
0240: 6f 66 20 73 6f 66 74 77 61 72 65 20 63 6f 6e 74  of software cont
0250: 72 69 62 75 74 6f 72 73 20 6d 61 79 20 62 65 20  ributors may be 
0260: 75 73 65 64 20 74 6f 20 65 6e 64 6f 72 73 65 20  used to endorse 
0270: 6f 72 20 70 72 6f 6d 6f 74 65 20 70 72 6f 64 75  or promote produ
0280: 63 74 73 20 64 65 72 69 76 65 64 20 66 72 6f 6d  cts derived from
0290: 20 74 68 69 73 20 73 6f 66 74 77 61 72 65 20 77   this software w
02a0: 69 74 68 6f 75 74 20 73 70 65 63 69 66 69 63 20  ithout specific 
02b0: 70 72 69 6f 72 20 77 72 69 74 74 65 6e 20 70 65  prior written pe
02c0: 72 6d 69 73 73 69 6f 6e 2e 0a 0a 54 48 49 53 20  rmission...THIS 
02d0: 53 4f 46 54 57 41 52 45 20 49 53 20 50 52 4f 56  SOFTWARE IS PROV
02e0: 49 44 45 44 20 42 59 20 54 48 45 20 43 4f 50 59  IDED BY THE COPY
02f0: 52 49 47 48 54 20 48 4f 4c 44 45 52 53 20 41 4e  RIGHT HOLDERS AN
0300: 44 20 43 4f 4e 54 52 49 42 55 54 4f 52 53 20 22  D CONTRIBUTORS "
0310: 41 53 20 49 53 22 20 41 4e 44 20 41 4e 59 20 45  AS IS" AND ANY E
0320: 58 50 52 45 53 53 20 4f 52 20 49 4d 50 4c 49 45  XPRESS OR IMPLIE
0330: 44 20 57 41 52 52 41 4e 54 49 45 53 2c 20 49 4e  D WARRANTIES, IN
0340: 43 4c 55 44 49 4e 47 2c 20 42 55 54 20 4e 4f 54  CLUDING, BUT NOT
0350: 20 4c 49 4d 49 54 45 44 20 54 4f 2c 20 54 48 45   LIMITED TO, THE
0360: 20 49 4d 50 4c 49 45 44 20 57 41 52 52 41 4e 54   IMPLIED WARRANT
0370: 49 45 53 20 4f 46 20 4d 45 52 43 48 41 4e 54 41  IES OF MERCHANTA
0380: 42 49 4c 49 54 59 20 41 4e 44 20 46 49 54 4e 45  BILITY AND FITNE
0390: 53 53 20 46 4f 52 20 41 20 50 41 52 54 49 43 55  SS FOR A PARTICU
03a0: 4c 41 52 20 50 55 52 50 4f 53 45 20 41 52 45 20  LAR PURPOSE ARE 
03b0: 44 49 53 43 4c 41 49 4d 45 44 2e 20 49 4e 20 4e  DISCLAIMED. IN N
03c0: 4f 20 45 56 45 4e 54 20 53 48 41 4c 4c 20 54 48  O EVENT SHALL TH
03d0: 45 20 43 4f 50 59 52 49 47 48 54 20 48 4f 4c 44  E COPYRIGHT HOLD
03e0: 45 52 20 4f 52 20 43 4f 4e 54 52 49 42 55 54 4f  ER OR CONTRIBUTO
03f0: 52 53 20 42 45 20 4c 49 41 42 4c 45 20 46 4f 52  RS BE LIABLE FOR
0400: 20 41 4e 59 20 44 49 52 45 43 54 2c 20 49 4e 44   ANY DIRECT, IND
0410: 49 52 45 43 54 2c 20 49 4e 43 49 44 45 4e 54 41  IRECT, INCIDENTA
0420: 4c 2c 20 53 50 45 43 49 41 4c 2c 20 45 58 45 4d  L, SPECIAL, EXEM
0430: 50 4c 41 52 59 2c 20 4f 52 20 43 4f 4e 53 45 51  PLARY, OR CONSEQ
0440: 55 45 4e 54 49 41 4c 20 44 41 4d 41 47 45 53 20  UENTIAL DAMAGES 
0450: 28 49 4e 43 4c 55 44 49 4e 47 2c 20 42 55 54 20  (INCLUDING, BUT 
0460: 4e 4f 54 20 4c 49 4d 49 54 45 44 20 54 4f 2c 20  NOT LIMITED TO, 
0470: 50 52 4f 43 55 52 45 4d 45 4e 54 20 4f 46 20 53  PROCUREMENT OF S
0480: 55 42 53 54 49 54 55 54 45 20 47 4f 4f 44 53 20  UBSTITUTE GOODS 
0490: 4f 52 20 53 45 52 56 49 43 45 53 3b 20 4c 4f 53  OR SERVICES; LOS
04a0: 53 20 4f 46 20 55 53 45 2c 20 44 41 54 41 2c 20  S OF USE, DATA, 
04b0: 4f 52 20 50 52 4f 46 49 54 53 3b 20 4f 52 20 42  OR PROFITS; OR B
04c0: 55 53 49 4e 45 53 53 20 49 4e 54 45 52 52 55 50  USINESS INTERRUP
04d0: 54 49 4f 4e 29 20 48 4f 57 45 56 45 52 20 43 41  TION) HOWEVER CA
04e0: 55 53 45 44 20 41 4e 44 20 4f 4e 20 41 4e 59 20  USED AND ON ANY 
04f0: 54 48 45 4f 52 59 20 4f 46 20 4c 49 41 42 49 4c  THEORY OF LIABIL
0500: 49 54 59 2c 20 57 48 45 54 48 45 52 20 49 4e 20  ITY, WHETHER IN 
0510: 43 4f 4e 54 52 41 43 54 2c 20 53 54 52 49 43 54  CONTRACT, STRICT
0520: 20 4c 49 41 42 49 4c 49 54 59 2c 20 4f 52 20 54   LIABILITY, OR T
0530: 4f 52 54 20 28 49 4e 43 4c 55 44 49 4e 47 20 4e  ORT (INCLUDING N
0540: 45 47 4c 49 47 45 4e 43 45 20 4f 52 20 4f 54 48  EGLIGENCE OR OTH
0550: 45 52 57 49 53 45 29 20 41 52 49 53 49 4e 47 20  ERWISE) ARISING 
0560: 49 4e 20 41 4e 59 20 57 41 59 20 4f 55 54 20 4f  IN ANY WAY OUT O
0570: 46 20 54 48 45 20 55 53 45 20 4f 46 20 54 48 49  F THE USE OF THI
0580: 53 20 53 4f 46 54 57 41 52 45 2c 20 45 56 45 4e  S SOFTWARE, EVEN
0590: 20 49 46 20 41 44 56 49 53 45 44 20 4f 46 20 54   IF ADVISED OF T
05a0: 48 45 20 50 4f 53 53 49 42 49 4c 49 54 59 20 4f  HE POSSIBILITY O
05b0: 46 20 53 55 43 48 20 44 41 4d 41 47 45 2e 0a     F SUCH DAMAGE..