pax_global_header00006660000000000000000000000064136270453730014524gustar00rootroot0000000000000052 comment=ed83aec75be817967cdac2663907d060fdc6adc3 http-cache-semantics-4.1.0/000077500000000000000000000000001362704537300155325ustar00rootroot00000000000000http-cache-semantics-4.1.0/.eslintrc.json000066400000000000000000000002101362704537300203170ustar00rootroot00000000000000{ "env": { "node": true, "es6": true, "mocha": true }, "extends": ["plugin:prettier/recommended"] } http-cache-semantics-4.1.0/.gitignore000066400000000000000000000000541362704537300175210ustar00rootroot00000000000000node_modules/ .nyc_output/ coverage/ node4/ http-cache-semantics-4.1.0/.huskyrc.json000066400000000000000000000000751362704537300201750ustar00rootroot00000000000000{ "hooks": { "pre-commit": "lint-staged" } } http-cache-semantics-4.1.0/.lintstagedrc.json000066400000000000000000000001121362704537300211600ustar00rootroot00000000000000{ "*.{js,json,md,yml,yaml}": ["prettier-eslint --write", "git add"] } http-cache-semantics-4.1.0/.prettierrc.json000066400000000000000000000001131362704537300206610ustar00rootroot00000000000000{ "singleQuote": true, "tabWidth": 4, "trailingComma": "es5" } http-cache-semantics-4.1.0/.travis.yml000066400000000000000000000001211362704537300176350ustar00rootroot00000000000000sudo: false language: node_js node_js: - '11' - '10' - '8' - '6' http-cache-semantics-4.1.0/LICENSE000066400000000000000000000023721362704537300165430ustar00rootroot00000000000000Copyright 2016-2018 Kornel LesiÅ„ski Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. http-cache-semantics-4.1.0/README.md000066400000000000000000000242231362704537300170140ustar00rootroot00000000000000# Can I cache this? [![Build Status](https://travis-ci.org/kornelski/http-cache-semantics.svg?branch=master)](https://travis-ci.org/kornelski/http-cache-semantics) `CachePolicy` tells when responses can be reused from a cache, taking into account [HTTP RFC 7234](http://httpwg.org/specs/rfc7234.html) rules for user agents and shared caches. It also implements [RFC 5861](https://tools.ietf.org/html/rfc5861), implementing `stale-if-error` and `stale-while-revalidate`. It's aware of many tricky details such as the `Vary` header, proxy revalidation, and authenticated responses. ## Usage Cacheability of an HTTP response depends on how it was requested, so both `request` and `response` are required to create the policy. ```js const policy = new CachePolicy(request, response, options); if (!policy.storable()) { // throw the response away, it's not usable at all return; } // Cache the data AND the policy object in your cache // (this is pseudocode, roll your own cache (lru-cache package works)) letsPretendThisIsSomeCache.set( request.url, { policy, response }, policy.timeToLive() ); ``` ```js // And later, when you receive a new request: const { policy, response } = letsPretendThisIsSomeCache.get(newRequest.url); // It's not enough that it exists in the cache, it has to match the new request, too: if (policy && policy.satisfiesWithoutRevalidation(newRequest)) { // OK, the previous response can be used to respond to the `newRequest`. // Response headers have to be updated, e.g. to add Age and remove uncacheable headers. response.headers = policy.responseHeaders(); return response; } ``` It may be surprising, but it's not enough for an HTTP response to be [fresh](#yo-fresh) to satisfy a request. It may need to match request headers specified in `Vary`. Even a matching fresh response may still not be usable if the new request restricted cacheability, etc. The key method is `satisfiesWithoutRevalidation(newRequest)`, which checks whether the `newRequest` is compatible with the original request and whether all caching conditions are met. ### Constructor options Request and response must have a `headers` property with all header names in lower case. `url`, `status` and `method` are optional (defaults are any URL, status `200`, and `GET` method). ```js const request = { url: '/', method: 'GET', headers: { accept: '*/*', }, }; const response = { status: 200, headers: { 'cache-control': 'public, max-age=7234', }, }; const options = { shared: true, cacheHeuristic: 0.1, immutableMinTimeToLive: 24 * 3600 * 1000, // 24h ignoreCargoCult: false, }; ``` If `options.shared` is `true` (default), then the response is evaluated from a perspective of a shared cache (i.e. `private` is not cacheable and `s-maxage` is respected). If `options.shared` is `false`, then the response is evaluated from a perspective of a single-user cache (i.e. `private` is cacheable and `s-maxage` is ignored). `shared: true` is recommended for HTTP clients. `options.cacheHeuristic` is a fraction of response's age that is used as a fallback cache duration. The default is 0.1 (10%), e.g. if a file hasn't been modified for 100 days, it'll be cached for 100\*0.1 = 10 days. `options.immutableMinTimeToLive` is a number of milliseconds to assume as the default time to cache responses with `Cache-Control: immutable`. Note that [per RFC](http://httpwg.org/http-extensions/immutable.html) these can become stale, so `max-age` still overrides the default. If `options.ignoreCargoCult` is true, common anti-cache directives will be completely ignored if the non-standard `pre-check` and `post-check` directives are present. These two useless directives are most commonly found in bad StackOverflow answers and PHP's "session limiter" defaults. ### `storable()` Returns `true` if the response can be stored in a cache. If it's `false` then you MUST NOT store either the request or the response. ### `satisfiesWithoutRevalidation(newRequest)` This is the most important method. Use this method to check whether the cached response is still fresh in the context of the new request. If it returns `true`, then the given `request` matches the original response this cache policy has been created with, and the response can be reused without contacting the server. Note that the old response can't be returned without being updated, see `responseHeaders()`. If it returns `false`, then the response may not be matching at all (e.g. it's for a different URL or method), or may require to be refreshed first (see `revalidationHeaders()`). ### `responseHeaders()` Returns updated, filtered set of response headers to return to clients receiving the cached response. This function is necessary, because proxies MUST always remove hop-by-hop headers (such as `TE` and `Connection`) and update response's `Age` to avoid doubling cache time. ```js cachedResponse.headers = cachePolicy.responseHeaders(cachedResponse); ``` ### `timeToLive()` Returns approximate time in _milliseconds_ until the response becomes stale (i.e. not fresh). After that time (when `timeToLive() <= 0`) the response might not be usable without revalidation. However, there are exceptions, e.g. a client can explicitly allow stale responses, so always check with `satisfiesWithoutRevalidation()`. `stale-if-error` and `stale-while-revalidate` extend the time to live of the cache, that can still be used if stale. ### `toObject()`/`fromObject(json)` Chances are you'll want to store the `CachePolicy` object along with the cached response. `obj = policy.toObject()` gives a plain JSON-serializable object. `policy = CachePolicy.fromObject(obj)` creates an instance from it. ### Refreshing stale cache (revalidation) When a cached response has expired, it can be made fresh again by making a request to the origin server. The server may respond with status 304 (Not Modified) without sending the response body again, saving bandwidth. The following methods help perform the update efficiently and correctly. #### `revalidationHeaders(newRequest)` Returns updated, filtered set of request headers to send to the origin server to check if the cached response can be reused. These headers allow the origin server to return status 304 indicating the response is still fresh. All headers unrelated to caching are passed through as-is. Use this method when updating cache from the origin server. ```js updateRequest.headers = cachePolicy.revalidationHeaders(updateRequest); ``` #### `revalidatedPolicy(revalidationRequest, revalidationResponse)` Use this method to update the cache after receiving a new response from the origin server. It returns an object with two keys: - `policy` — A new `CachePolicy` with HTTP headers updated from `revalidationResponse`. You can always replace the old cached `CachePolicy` with the new one. - `modified` — Boolean indicating whether the response body has changed. - If `false`, then a valid 304 Not Modified response has been received, and you can reuse the old cached response body. This is also affected by `stale-if-error`. - If `true`, you should use new response's body (if present), or make another request to the origin server without any conditional headers (i.e. don't use `revalidationHeaders()` this time) to get the new resource. ```js // When serving requests from cache: const { oldPolicy, oldResponse } = letsPretendThisIsSomeCache.get( newRequest.url ); if (!oldPolicy.satisfiesWithoutRevalidation(newRequest)) { // Change the request to ask the origin server if the cached response can be used newRequest.headers = oldPolicy.revalidationHeaders(newRequest); // Send request to the origin server. The server may respond with status 304 const newResponse = await makeRequest(newRequest); // Create updated policy and combined response from the old and new data const { policy, modified } = oldPolicy.revalidatedPolicy( newRequest, newResponse ); const response = modified ? newResponse : oldResponse; // Update the cache with the newer/fresher response letsPretendThisIsSomeCache.set( newRequest.url, { policy, response }, policy.timeToLive() ); // And proceed returning cached response as usual response.headers = policy.responseHeaders(); return response; } ``` # Yo, FRESH ![satisfiesWithoutRevalidation](fresh.jpg) ## Used by - [ImageOptim API](https://imageoptim.com/api), [make-fetch-happen](https://github.com/zkat/make-fetch-happen), [cacheable-request](https://www.npmjs.com/package/cacheable-request) ([got](https://www.npmjs.com/package/got)), [npm/registry-fetch](https://github.com/npm/registry-fetch), [etc.](https://github.com/kornelski/http-cache-semantics/network/dependents) ## Implemented - `Cache-Control` response header with all the quirks. - `Expires` with check for bad clocks. - `Pragma` response header. - `Age` response header. - `Vary` response header. - Default cacheability of statuses and methods. - Requests for stale data. - Filtering of hop-by-hop headers. - Basic revalidation request - `stale-if-error` ## Unimplemented - Merging of range requests, `If-Range` (but correctly supports them as non-cacheable) - Revalidation of multiple representations ### Trusting server `Date` Per the RFC, the cache should take into account the time between server-supplied `Date` and the time it received the response. The RFC-mandated behavior creates two problems: * Servers with incorrectly set timezone may add several hours to cache age (or more, if the clock is completely wrong). * Even reasonably correct clocks may be off by a couple of seconds, breaking `max-age=1` trick (which is useful for reverse proxies on high-traffic servers). Previous versions of this library had an option to ignore the server date if it was "too inaccurate". To support the `max-age=1` trick the library also has to ignore dates that pretty accurate. There's no point of having an option to trust dates that are only a bit inaccurate, so this library won't trust any server dates. `max-age` will be interpreted from the time the response has been received, not from when it has been sent. This will affect only [RFC 1149 networks](https://tools.ietf.org/html/rfc1149). http-cache-semantics-4.1.0/fresh.jpg000066400000000000000000001161351362704537300173520ustar00rootroot00000000000000ÿØÿàJFIFÿÛ  - " " -D*2**2*D<I;7;I<lUKKUl}ici}—‡‡—¾µ¾ùùN  - " " -D*2**2*D<I;7;I<lUKKUl}ici}—‡‡—¾µ¾ùùNÿÂá„ÿÄÿÚúpÇLLå2™¡ù_=†[sÙ³fÝ»6íÛ³nÝ›víÛ»fí»6îÙ³fYÌÎI‘ À°²Æ"1Œ"1ŒcÇÆ" Ë,ölÙ³fÍ»6mݳnÝ»7mÙ·nÝ»vîÛ³fyNS2™$à>MÔiÂffa2”‰L£Â1ŒaŒcŽ8Æ8ÄcÆ1Œ@ ²Ï=›6lÛ³nÍ»vlÝ·nÝ»6íÛ·nÝ»vìÏ<§)”̃å\EâJ@L¤”Ìå))LÌ¢0cŠ""#qÇÇLjÆ1ˆˆsË=™ìÙ³o«¤ú°|“ˆ¿òL¥0@„€B$�Jr™™�™ÊfHÇQŒDcŽ1Ž1¿¹ú�ñ×ÞYÊR @HˆB HD2„RL¦fS$“9Ï+õîìøß)yåÝžB`J@!€ ˜A@&PH˜,9¾ëêÇÅy˯6Ü¢˜ÕCqí(@ˆB@%L‰B‚e$ ÷ó×Öñ+Ÿ6Ü AI…M— �„@� "%!3 Î’Xò@úš>QmçÛ” !2˜!€&ˆ&D@Îì¿ÄÎ|Ѿœ�„WZù·ÌI3Æ ‘„‚(H ‘2’G‡/a!&H–6œgÓ~’Çà¾;=‘�A°눃?|øÛ|Ñžœ²"0‰%2‰"!)‘J HkÄýSèŒ>¢ÇNädl€#\"'¦·«¯°öÐckÉÙ^á銯_¯ÇCÐÇ–žïÁàµóê×îòyfb!)”Zðÿ[ïØ~}{´ï†@3@%1­ö¯�waY¡²‚ãÙé¢óÚt…çžÆŽÛÍiá¥éôUz.jù¼¦ ÜL „²ˆµá~ÅÝ5~{ÛìÕ¸™ä@’"#gUËè÷ôTžÿНÕÍÌ Ú ñ J-8_³öÍ?ž=^­{ñL¤N@&„!—SGã¼°ÏW‹ÏMw�…nÜü4ÝOšÒ=\­Ï›=™Ót\õÏ3¯"@”k€”–\7Û{�ζ�{ñJDÎ@DaE߿ן/ä½Ûžü+}üÏšæßÇËØsý e•?CäÝ_s£g5äÉÑ0à ñËßÄ}Ǭyÿ9Úo׿‰2È8" Í:ç|ãžz÷ø#/w·E}�-æŸMGäõÇŽ— ðxrA´ª9㟳Šû·Nòþr¹Ù‡£�–I8ÄBdJ1JDÆ2Nx¥Д@lÇ?W÷¾‰âüå{ž;ñ�BBD!„¦I’ @HA D7b`j€–Ì6oãÿ@Þ+ÿ9ô3�£�2 b”¦fPˆ’$�ƒh$€!ªYã·g#úÝWùÛ¤ˆôk{½z|žhÝ8Ꜣ–0" ”Ì¥„$Lœ„¤%5Î6Ï'ú*ÍMùï¦Â=Éêok1Ï›¯írŽJÂû cc›Ï Ý£ÉWe†8aæÛâôÌ#VvëÓ B"d !&xîŽ[ôg½Cð£Lï×1ëíù¿?]}Ú›=úö‘•/mæ¬lñ^yòFŸ_/ÕD”Úú�6ñÇ‘ÇÝo_W7[ü»qŒqÇ ty“èÓ„îÙ§RfIeŽý|×èßcœø/Uç�úæ-n9s6÷”6ÔžIöÙÓyï¯ùªùÙí¶¦×’ÓUOQSªZû:cæ¢×ÐÛSóû{*ÿVÍ33¯ÕIÎeíìyÚ>‹¢óꥢ½µå¼ùt;cŽiæYc¿O?ú7ÒåþÖy2ß®bÚÆ–³<�Òt´tùÛÚóž>«F{yï>kk>sÅ“§Â«¨çjsÊÞÏ;ø¦óõ˜×Rú{jê¹æ÷jÓ7ýv~þƒ›ßÜó^-Ö|Ý´ÐiÙ×ù=zæZ9IÉ”z<Ô¢ýKáýw‹=ÚÏ_A²¶›N]uU/[SG�׿žòõ^hõøébn=¼ÿ—'Oç¬éùʽ“wì¢ñä¼ßKæí*"‹ÛÕr½ ]}�7·©ç+󱽿úM\ÿ†ÞÓÃìÓI¯o[QæÂÓÉçVç“(ôy*?Dïq¿ëü6àEÎïw¢‚³´æjºïó×AåëïÐû\Gƺúü÷`ˆ�W¯ÛaEÑò^§E.«ïE›­ðÑû}Þ››Ù³ls×JÞŸG¶j¹Þ‹/›�Ï  Ç¤ªôÐÝçCÕSRzzÞ~®Ç¡©ˆöo¤éyª�¹õ•~ï%ºê*gUÍWg’Ycê®òþƒØàþA×Wç»Y]zgÛãß쫤òô;(tuÕÔmž«?N½žl¢Ÿ ñWôÔ˜OŸÁ»Ýè÷ú¹~’‹w¾ªÞƒ¡ðÒuô”Þ®³�¬³¿Õ霼WüÝn{:Ê« oëhj=Ý?5_³$²ÇÕY§ôoŸ|›­¯Ù·YçÝœêÛ—Ž§ÅÑeE£¯¬£œ¢ïný4Úg_Y_àéyŠìç<£eÆÚËúo~ªŽ–ƒ¥¡©ì¨éý}W9]iyI®wïò_s•»3멬ëè›úÚ ŸKÍxsÊL±õÔ¾û›ç?-ê¼6á}§—ž—×SS>‹zªÞ–(´ö54Ù#¥Ç-4z2ž¶³ÅÑs^æeºNŽ²Úš«®¤è¹eCQíê9ºûk~sÕ﮶ûŸ¬Ïo_Cm[E>Ž·žª±è¹¯É”Ì{)½xÉóO™õ›1ˆ½·�˜ÑÝóUyú:ŠZŽ›]&®ÆŸeÞ‰ºã½Z©5Ìõµ>[ú¸cæÛ¢:=Ñùnyoa[qÉèìh*}Ý?5_sgÏy3¾ÝSÑSÒϳ­åï+h§ÕÕó•–wü߇d¥–>ÚOwÝeòÿ�t¾»0ˆõç–zü÷4Þ|óèk«:5Fm?¯<öùêmµSkÊzÚ}ÚýŽŸ~;6ò”½.ß!æë™r±×óõV'5à»°çü™ôRôzª¼½/«�ètÔù.où ­ß9ãÎFXû¨m¾â|«€èü[²Æ"1ƒ$ç–]vÆ>>w·T5ks>ÌvXVéè¼zçÍèiô“Þkì´Viê<ú*vuœõ]—EÍx/½”lº(£´÷{=>žZŠïÝìÙcÎsº-î9Ï&Á3�¿Ÿ»ûd¾KÃô>=¹`„I3)Ϭ¯×—«g9Õø™DÏ3æË§÷òñÚyqã0í5ñ̺K[«ˆÓWE>‹¯Fº_«^[ü^o–·/u¯‚¢.cYæßsŽØñÔl·² òæ%þw¢ûAò6ÿɹ‚S)gÖPÖgy—†÷œòå6»é|{; šK‹Š¬ê4vÔ¹åÓy«ºZøÛí§¡ÛÚù~«½r˜ÝÊèî^XçêzÿNŽ7_IiÉjœugžìüÑ�–6ßSö3ãœ�ï“tâ@”ɳ« ¨Îûg’ë™ðdµ·£®ôv|å7W¯G¦—ËØÒSgŸOâðô\ß“Ñu<×§¯æìj›±÷y0õm¤ê·Ðjö{y~§É…G‹©ÂƒDÌÌÌBD±°æ;¯æo<›Ø€”£oYÏUgÑeá¹æ¼y½]M‡WÉø;jo-凱£¦Ù—Sàñt<χ>—U7º÷™èéé&Æÿœ¯è½]3Fè·VßUúk*ú¿%&¼Ó"E‡-Ü}e ºòîB!»« ñîìyß5Þ�DTVuTô—¶¼¶·/ãêèêû:}™uu¾Kþkų¡Æšó.¨¬¡ÊÒï›ðô¹y®¹OË;Š{ú‹*Ú>³ÇGŽS"–6<§{õT|>šã˺ þ«Íïݧ—‹ïsQáë+hºŒ9ß_SÉyúêš~Ê‚£f}]_šóœñçЩzzº>«ÇE…½¿;âé¡èç<»=½õ7·]Uà¤Ç2`QeÈ}êøUm¯›t Ièê)°ôaEkmÏèœc¨òQöÔ]»œÕÕWSõüýNÌúÊ­<ç“>� ž³š¨ê5Òùîlùï'O«jƒÏ³ÙÒP_Òeë¦è«© ”ZqŸKú[ƒxìüûñ%#ÓÓs5½:–ÂÇžòå”ô8UuœÍGa�ÞŽv¯©çjögÖÔkµç|›:�/‡¦æôÛÅ/ŽóÝAåê<ûð£ól÷t\ÿAGãè©o+)'0�ekÄýKèÌ>¢ËÏ¿‚I=}'3]{î©ô{è¼ù°¹ôø¯ù/qW«,±ðt|åf{:êll¹ï&þÊ’mµ{6VQWßúè<ÝW—fT~M–wœ÷GCUÖÖZÕRe˜‚³ÁkÃýgè,??=ú7ÄJ!"eë蹟·£¬› ûØr>«­‘ÊÏgËx2³öø/éqk¿¥XRè¹é8ëI­e뮩è}4~¯Ç‡ºž³>�ÑAÓPTu:¬i©2Ì%9`µá¾¿Þ5þ{ÛîÓ¿Ä!$ËÑsGãÙÒø³Û£)×S·¥óøé¬ºSË�…Ýe×›Ù>]´™ÙnõzhhzªZ6þ¢®“¢ÛEçë|Ý5öµWUÏTßú¬hhöfD�L²×6¼/Ù{v¯Ï¿^¯Fb‚RF38ÎP™ÕŸ«Dù½ÛáÖ¼ÿ�-7áº%‘  2AB!32"% D¢1g1Œ‘œ 9c—³‹û¯Pòþs¹Û†yKÆ­²"A!™L Á ˆLÊD³Ç?O÷®�ãüå{žç1 c˜H’@ BL @�‘K<6oãþÿ|ñþr¾Ë ó˜‚P� ” ”¤‘L¤‰Ç�‚sÃfÞGô%ËOçÍöZóÈÅ$€@™D��mÕˆ�BYá·>KôM¡óŸ•[oÙ³<§,²Êg)”D1ˆŠ"¡`!�”’$D·9OÑ–']«^ãLå”ç”å–Ye–S9e”ç3–Yež{&Q„#ˆ"„ˆ$ !^Œ9�ѾÀÇ\ck׫V­ZµéÕ¯N­ZµkÕ¯V­zµêׯ^¼pÇ%–Ye–S–Ye–s”å9ç9e”Ìå”̈ˆˆDD%ŒDDí­ªý ¸D#ŒqÃ^­ZµjÕ«V½ZuêÕ«V­Zõk׫^½zðÀ&rË,²Ë)Ë,²ÊrÏ)œ²œòÏW3ß}`DÄcŽjÕ«V­zujÕ«V½Zµj׫V­zõa¯VaŒ»_¬ú@B1ˆÇ 5ê�g¶@ÿÄÿÚ ´öD!DD"‚ˆD!„ ïu攀A�É0€A)ˆ„B!B„"ˆòÄVøNR’ B„ LHA% ’@ š/ ܵÆg"`€SÙí @ DˆJQÌ%$@É�@L!íA®ÖxÌæDH’”$ H™ €H¨ÎЂ$ïÍy…†9NS(˜D�:uÍÖž÷®­�–ž~M‡�¦Þ£?OoóËË?A”‚ 1ËߘÀ,·c&s ˆ H‚P˜†Å�§Ÿ7³«k[ÓhÑú{oxi]TFµ½w¦¢ö“kbt#©õ˜‚$$ˆ�“½ùPZm&r”‰ˆó¸ïkjîUØk\xW¶·<«/ªüµlknª-+þº[z=†D"R@¢$Ÿ§. m†L¤(‚<±Ë?OódÇÛÑ¥á鳫¿¡Ÿ��n9ážþ†v9 ‰Ã9æ�sìÉ�A$ JI’@’`„¥!"Bb ã΂ïÒe‘¥]«>ö{už3cŽšfro5|§×ßÄNqë ™Ë,0d™ B HA$‰ÏÆ€Ó39FŸ+•¬áe—):}íN½~ß¾:�f¶Ã*IÌݯè©ôó-=j¼§ÓgǨÙХܼš=M�l±™œòÙµŸ½­í}/Mݽ}mïIÔóÏfeŒúkQ¡Ã)™hñö›žª >–ƒ>³Ò¿•¾¹£¢¼£¿»ôVò·÷¤çúz/n›9¯æ.o' ¾sª³çi=û'%éë]}�,\ÅNÿMžŸ#oµIžæž—A]nû—¯ØòÖÏ×ß©öÉŽYéÒƒ£òÊfXÖÒé-.9¼úŽ~£³Ù¬åú;j N¶ž³ÚÂÛÇ—¹ßËnš‹©ç–™mîr1ma½¯ÇÝ\rþš=w‡5}¡£ÙO'—[ãÇØ^ç©Ì[éùu¾Øò^tý†ã”Õì0ä¶úló™a—¦…8eÑxå2A�/7e¡íï†�QqSÌõ\íGg±Ž• uÅFï²â¶Ÿ¨ç=ì›V‘][W=/;ïiEÐs·Ú•½_=¯ØÇ#±Õjòf:·µ{Ý>qËÖÙVvxòXuþ\…�KžDážu•Aéå”Ê+é³�]=Œz,¼¹‹>žŸ�ë7yºÞŸEm=�_[¿1ÌÕôÜÕ�ÖyæÊ*9Î�B¿w——ôðÛèyhë°ã÷úm.Nòï*¾bú›k«ÏË”òÛ®ìv0ä}:Í~FÛ¡ÎRÃ?JšÐö¼òÊrˆòÒðÃÓs_Û,y�{m]�c�ÖÝ®óewéWŸ¼óz7´~hÊÊ¿ÌÛèë9ßKÛ®vŸ.›w”ôë<9 NŠ¿–è®2§æºŠúK½­J®ƒÇŸ¼Ý𤹿Óäî¯ó rõ¦Ð ‹¯9œ‘e2ÒбŠÿ^�œ�ƒÖ·§´šn£.cÎ:Í®oW«öQSßÓù#bîÃ{GÚçΧ٭ë¹åígá©©¯ÐoÐUÅ•®zÞxg½oé­Aii�c—­&�mÛa“ “Ë‘Ž·Ò—š¼¨¶è3jqöÝŸ)=U%=ç?Ð\󽇶\åQÎX]ùóšý‹•ØÒßè4µ¨wìuêº:ë/z­~®¦ž:[š*>»ve)€#½¨uCv× f€�xòw]­Îg·%å×Öó�÷1ïÐòžÝ?1‡]ë<Õ?MÍÜßçKÌõÔ½E5eï¥ÉÝ_Só—U6÷ùêqÖžz{^}/e·‘(—·;à8Ìä@’M~:l«u:üy{›IöØç¨:ê]N¶³Ÿ¶Þ©ÐëyÏN¯ÕËÕôœÝíæt\ïIO—KWÏuvuü­ýÝ'=oQÒÛç¯ÆîaåËôzu]žÖA!>üϘYoã“)D$I«ÇYtZ|�µ�3m¿–V:\�¦�µÏ5§¿:õý%>ÇEœóšWüåý·—?¥qG–m[Ί·˜é-èhohzÌ«¹[mêù½M­Ëc)€‚DO¿/ˆZnÄÎD"DžTû6  úÏ4OAŸ=à象´¶Ë_•ÛÕ×ɱ>W<ìå9ÞÕku¾¸rxuõœßQgÏRõ¼î­¶ztœß¿U£Ê{Gaï”À"2öå�m´œ²„H@H2„B‰Î|çÖ^;^zÛ^šÚûêýH÷²Ê¯;%>¯µÞy �œù�\{³È@A $$‚BS$ À”ˆJ&\à-vÙå0€€L$‘0"��€I0H ˜g‡<ÆyLÊe)LÉ2L̉JIK)™�„@%AD$ "9øPe3)LÊe)™L¥)”Ì¥)JS2%3*­ÿÄÿÚÕò¤”’‘$‰$I$’$�ÏCB„  ’$�‘)&IH‘$‰I,äZ �$2 $’ „’@'+ ÃÇG^ H;-HLˆ @@$$”! ³²ô }<%â$NP@€„�%"BI,q¯‘–~yÚæÚ˜KÊ"C/D„†“zÁ¨ÚÒòÚ¬÷ÜÃÑáþz›L<=üü}ðÃ\<¡)!@„€'??Ki ]\2�(„‰õ×§OWWíÑkíÕXó~^Z;t·-Š›=©£¹Õñ�Üù_OTˆC,°ÎÜšØep€ËÒ <ÉeÒe¡³µ¥k]·M±¿Ú^Ö”™í×YÓZÖØ¼<÷57ùÊØIë€#6Ö ÓÖÇ(ó€2Ο8™'ÚcÏiÎqeãå;¾ÞzûZø{WY±Ë *á'¬F(’3Œ}­¥¯ŽXù„� KI!BR$@€%>��”c±d  sÃïØmcãW©ií¾›HˆÅ¤ÚõÇËÇÔ†ãš"1ÃÓ8Æ„%$–h�$b ÏÙ±Ž9ùá;ý>Lë�N”VÞöž¹ÏÙlkÌ×]F•…¶Ö%g•§£ on_VÊçN…}³¯±Dc†:õ±i©¡µ¹ï祥·ï¥âÜÌ„F®0ôÁµ` ß(ÏÏ�]_G§äè.¹¾ƒË“ó²êh)oï(ï((üÖ�M4/o¹«Í~g�KMGÛt\­gGqáÇåÕøá¿E•ÔTM½w3Ž÷YQ¯s†žæõó’О§wÇÓg/_ï›sxžl¼ñegu¸®§èüyŽŠ×�Ô¶é¹Êž†ç“¹²ñЩöé©ô1Õ¹ºæz¬ÇWS¬šªý ®º’§§ð°ä¶z: ®B:Ï>Og®­¤Ãs¥¨ÝÏ“ðõë}+­øý,ú¿~GÓ¬Óæ1Â_,·7B+0eç 2¼èªì¼uóÞæ)®:Nb³¤´ãµ³Ý¾±¦¸ÐòTY[s]µsZ«+Xç: zÛº†‹nÖè=¸üúÝnWw¬�&[4vºÆu[ÕÖ|~§§Y<�¿[]Ìã{xå¿¶ÖàËÉ6wc³·ã<îý=_1uÐrš=6ÿ5ŸšÆâ®×“¯Œº{s¤ª¦Ç®:vÃ{K.o©ðÙÒ¡ê�·]_ÌØuTTqmÒÑ\êr˜{õs¯¿Çë{õž<¦×[QÏa{xç¿´WbŸ$ûî{å穳ᡎ}7½^Öß=áÐûéØz1¥ÂÒ‹ËÂ:]ºk¬Ìk¬s5y»^ƒÎŠ—¥µÇ™Ôê¼yMž¶¯œ³éùÚhºèù‹+š]M»Nbú“Kb暃{«¤ À=|²±Ø:üeä�BëÖîW͇Ÿ=еÏ+.fª:n]Óg<¦¯I³Êø/í¨mý¡ãKYíÐnøÔzZy6<µ=|k=·v½è4: ®ª�Ÿ}ŸL4*|öïjêñéå��¸xèá3äÛ®ŽKÎó££·©çñ�›÷ê°å¯m©:~›¨÷ä7V"@ § í² ]LrÇÌJ½}g9¿ÖÔht•Zã]¿ÖUoTTtÛ: �þzÛ[ŸÁÑíQô45÷ûu˜ù¶©9Ë^—œ§è/(ïyú,m:z�ìyn›cWwŽ×Ä Êpô¶�ÔÕÃ<<ÉJ=íõkæãßBË9˜çñè}ñç½/jê1Ûê4öö0k³©è#v¾üŸ—¯Xämz.b¯£¸å:ª¯=ìùÞ�_•°ê¼c�׈�fÇ;piëa–� A™JIe3G¬xÃg×S×gWËoÞ¾l6§Â¶-0«ÊãgÆ“ RLcÖÔZøc‰ óà ‰€BD"Pˆ ‚”¡0ôÂ=ìÁ©­†8€H%$J@ Ã(Ä@SLö@yãA„‚"ˆ$�‰Ù±A „@„!!!îlÿÄ413!2"#04A @BQ$CP`%DRÿÚþFަÔC¯›…y¨—˜�sعÌ\Ö®kW1«x[ÂÜà·�²Gÿl±±>l7žõÏróy‚¼ÂósÂçµsعì\æ.tk›æÆ¹Œ[Ø·µnjÈYðÀ[ZŒqž¦W—®¼­djV^Jª4*¯‡Õ_ ¬¾Y*ð¨—ÂXŽ’ÒJøSÑÒ¥_ ™|2Âøm•ðë+ÈZF�¥äí/)eÖäL¹R-�p~Îç!4£ ³dt®ŽƒRÔA¬jƒ ×uqÐq²âmh!ÅzØC‹õ¤8ÏYC�µt8çSCŽïþÇÜýŽ?›ö8ÿýŽ?�ö8þ·ìqõ$8óNCŽ´¤8ßHC�4d8ÃF(qfŒPâ�¡ÄZQC\Ó�A«Ñ=¥T¡z¹Bä+ÍD¼ÄhOç±sš¹­\Æ­ád¸ýÿ†ÕOòaR1Çúù+.[œ·½ozæH¹².l‹�"ç= Þ¹ï^aËÌæ˜^`/0ÕÏjç±s˜¹Ñ®lkšÅÌbæ1obÜÕ¸,øí c*#בòÕ×”¬¼•Uä*¯‡Õ_ ª¾Y.ºøT+áQ£¥7õð¥ð§#¥H¾*ødèé¶ì¯!e6—“²¼¥•å¬#ár¥[¶»ìä¡,ƒ ±8è.[£|t¶¦: oVkúÈC‰5 ‡ëaEÆZË:éÜwÜn¥ØmFÙ"ñ=~M5HfÔJ^ÙñÂÂÂÂÂÂÂÂÂÂÂÂÂÂÇŽ?ž<0°°±ý/U’·9orÞõÌzæH¹².t‹œõÏzç½y‡/0W˜+Ì/0=«žÕÏbç1s˜¹¬\Ö.c1‹{ö­Ádxà-�F(Ï^D+ËW^R²òuW�ªŽŸQ|:ªøedtºèéP/…DŽ”Åð ¾Wž¾*š¼°?@×fÒì´³¶hØöø‹�OüÚª‡åF¦íŸá…�,,  ,,,,,,,,,,,,,,,,,,,xáaaaaaaacùáaaacûy+.[œ·½ozæH¹².t‹�"ç½s޼טróy…Ï\ð¹íL‘¯é$l•ŽcåŒÅ#Øx&ñŸN;ÁÝœê0-;òš¦öxGŒú�Ñý,Kc 8XXXXXXXþXXXXXXXXXXXXXXXXXðÂÇðÂÂÂÂÂÇñÂÇð4îh+P9·*à�÷‡ƒº.89ÕX´ßÉ ob ‰ÿÒžCOx.q94¥t‘�ïüü,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,xáD>›ÿË�pú· è¸ÔçXZgä•?° ™Õ;õý)$c˜Mð+Â!fßý¬'É~ö=�gðÇôcMŠïåθ~bè¸ÄçZzÒûïSûZ‚�;õÿÇÊ÷>G¹ÕžæNÌHHNhiðg±ŠÙÍ©×v­øÉÑqiη:Òû²)ú5wëí:2Ò¶•µaa`¬‚°V ÁÿÛž‹dqskÓl.Þïé©Ý|íj³ù®ñlÊWœëvÖ•ï•OѨ(Óº�²:…“€²VJÉY++>‹Ñz/Eè½¢ÀXÍŒsÎ4é\´ÙB–ÅÖ8_'CNTö9‡ŒsÎá{Jž†7Ž¡Ž=9o[ˆ#¨É[\ŽGþ€ê�Ôø7£TÞ³J¸Á›Æ_i\Hs­]ZWY”ÿâ‚bwQöGUþ¿ z/×ñ G¤Ù\ ®]­_äŒj­Z•˜¦c6èñ0 ï6+—–�W–çÇ¥5®•»µAXDðÌ­9�|ÍP‚«"~Ý6¬2ÄKŒ–¨V£V&ìåÑÑÌŒÞ]F³} �-®i1¶&ØF’ÝŒq:KÚK€%¢%ØFŽí­&åWhr…œÇ†©4¹ÍʽÍœY¬è¬1NÃeSÖ|=ðBw¸øÒ�åï+€Çÿš|eö¯œë7–—Òb§êÔ:#Ô}‘×ú'¡_¡üX2à«¿‘H¸]‘î-¢isÀQý .*›„’:3m˜d­Z?t-DýIPZWy«Q?UÊŸ¥'•bÄ‘íÀ»*Ó÷Ù•›õDA†7j=ꕇ†om�¯�’ “Éq5§U‘¯!T»#€y°Y$ì‘–m>&DÁbY&ŒÇ%1‹Wm=�lkJyc$pÔì¶“£Å—‡)ïqku›dñ«óÇ ºû~{VjËX¶;£æk�þÁê~ÃWûL÷µMٗÄ4jž6»OWmÙ+Mì7¿Á¾ÔzŸ²ê îŸÏÔtçH˜™ „â眻 ¶¥c vç‰ûÚm<»qeLÔ&l�zšÓå$–ê/KÞdv|KN@¼âº=Yì Ö±$£ ´Æ9CÝvô3;sù²™u†®Â,³ŸÕûPÈýÌ�Ûdܼëy¹¶î›/t¯©<~Iáiï`›×SŸsÞ@|Š‘Ààm`ÆÔ?°zŸ°ÏýìVÑ©xÜ?FE`æyŠÓ¿MÜ(&ûQê~ËQpÊÈYyÝ>þ7³¨õM‚GtòR§V•¨±ã®×µÃûØ `Uê²V\²ï²=§Â¿t-Sð¤M÷5iÃbñâ#�*ï…AŠÐ§ûÜ‚ý!ãM›å œ*UÃeœ’â�hå /ý¤sKM“ìj¦ÍÒµMôë€�?ÿæLì*ï¨�ËF#%Oa‚B²ÕÍ‘oQiê¤Ï{¦&婀•¦[XZmX«ÁÍ’Ö¦÷’#u×¢Û“¯:6&Jf¼×™íà:�jóŒO¾Æ4¹T—}·J§¹Y*ÛÃînP:&V`w>Í�o�n�jŽ�Ñ·•¦éÏ�Áy+³æt�A˜�R¼Š>¸)h@Xå(Úò<)Ö3¼5…rƒ«´8 ©éÆv'ém}5Óí!ã Ò„t™ÒdGJ•|2Tí>V„(JBš³â럴¸àyYSâs:¡’›ŽéäæN†Fõð•´ÿ@{O…~âÕ¿ Ê!™c ˆÄøñ9Æ�w·ãÂ�îr ôñÒÛ™šµ aV^áB A¨n iqî•«Q~ØŠ�û$ˆ)â Ȇ` ½©`9c­=Ç&–'�5Ó5ÑÆTò1„‹-ZÎÇ‘wôªG¾ê½cl;Ö¹Þh,0õD¨h¯2ôg.všà缋ÊOÊjwã1>ld7̽y—¯2S_µ¦»£¥S*Í·Èâç›.ýy¯öë@°†Õ{� ±,�ÁY™È-Ÿ6åbÙ\²é㑤ÏWD˜«´‰ïɼ1ºtŽd.x–ó„­c]hµ˜>u«ÎµyÆ/9}öÖŽ|mˆ©ZŽhHh>@3ñ]­ V|k Lħio˜‚�õÙêé ÑW”ÞÓKöƒ…¥Õdç~�¨VØ"™ìRM4M zv”ÜdN�ŽŽŽŽätw©t©ÒQô$ñ>»…jça›*�–xñaÆ�sˆbGÜSz…úxéGµ\²¸bc€CÇH�«–¨þ�[±e�OêÆ9NÜÅ(AaiCë5_ö¹[öF€ZHúOW½Áiß–õ¨¸–�­ŒÂÚ´¦ýf«þ×+~ÈÐjÚ¶­a�Wº§þXR~;ÞÙÊè9ë|‹Ji|Í.¿1©ç{#o�ú‘$£ žU¥¼½²fÐWÕÊ KfØ\å9Ì®Rš@¿Èªã25{+5Jï©)T?Jqa…X¼Çz0Y�œÄ›~£å ¹­ó2&½ÒK3{ ›µ"o†ŸÞj»ÑÊÁú Zec4�RM Á¬±mÏqsÍ’¢œ8ú2ÎøË_¨AÊ“#Hö=]žQ€­’fr žà©½ÑÖinWY�…ö¤ y·¯8Wœ^qM|œÆrò‡�ø Þòµ�Åb¢3v¨U{Lñã�ׄCÆ¿e7¨_¤fJ4é‚ò)+ÉÉÓ% �¹°0ÿWSŽh@Ð’"QioU¥»µ[o¹[Ž2«7t�R]EC×pVFÙ#V%rÒYºV­EøaS60ªúSj—¼�ï*õ�øÑ©ïAQYªçµOØ(xi�æ«ý¥…_éUb°íÓ'Ï% ;diO¢cÔ�djÒ†!‘]îg¼ä=ÁEéQŠ^ëÑ1U[õZ¦hµMÚ™ Ôð>ß ½^µ®Ô+HÕ(¨=�ñãs�"TëÁ½QéürGFZ8 ’9OøE)Î[æ$E²2 ·6«Gd8S;鼦‚´×n®ð§ô{J²6Ìä‘ÜWús«z…§~3•®óTÝ×*ÖË[±â\z¨§#Ù–?åv¡A¥†Hô�‰p¬°HðÃHœ]ä+¯‡@V£`—ktÏÇz·Üj�ÖáV}�G#Ô,ļÄ+Q± �¹¬‰åŽ2Ãgˆ9E1gµ“Ç ÚëtR‚c±Uð¸ƒEØ™ªØõ*ÀÌ NféBÔ�²»‚¢ìX‰ªðÁ\˜­ž»–¦ÿÒœýV5AéQŠ^ë‘÷_¸Õ'aŠ^“ ¨wš®t)”Ÿ@÷¹ÃG{s"’ã„&Ü?¯; èûºÚ˜3 hý·«Žkœ1g¼ä<î ·¥F©»ËMü•oªdøvçyÖ¯:ÔûìcK•IL— ªK1‡.dL5ÁÉŸRc"åÃeÛÝê÷ï�¹iG1HÕ±†B]nh[LbÁÄM �BªwS ¬-‡-\±€±¶�±ª·uªNý'AQî…s¡Sö Hï5_ö¹[öƇ†‘î*ÿE`홊7sjÆS#ÜUº1ä†Õ”•¤éÎ/v«+Y– ݈ÂÓÝšn ÌËÁW)½’OZm'¾V­A¼¦¦wÒyMZoyª÷µÊÏeˆÚwøøV핬þKŒë-LéàWŸZaSü¨T½·xGÕ;øám[VÕ…µ¡àÁ—N´.® òЯ+]uÊ›KkÁÙb«àq³ä�=­‰…>2†—ö�9§©ÓcCLÉ)ÚsËHŽXË$ Ö»-`àÓk$•Z³í=&Eb@ìç GÏò¼¤jÌ2 ‚Z² «í–BZ,”ÇNñ–¹Ö2Låé~(f;¤´÷¼¹¢Ëÿ~h#`ãÖį“å`‰ëI~×ì3XkdpOœ=…¢ÑõcSVžðkH³qÄò¶V€Û2•WºÕ;šØ™OÉ1APï5]>…Xì�Ý ÿ´«õ¡á¤~Õõoº›`bvLoÜÖXcýÆ×ÎTºŒ0DzRs;÷¿ÓI˜|Ñ’LrnH¥À-©\••*0•¨ÚtÅÎV]�¬Ai}æ«þ×+]¨Óˆêº·Â¿mjÿ–Œêå7§�è¸ÿ¿L*_• —¶ïú§~¾ó=áGéU‰Ò† Ÿ6Ä-µGií ›‚+QzVnÛ)å|lùM©_8õæÞŸr@×NÄ�Ê{’4^ï‚ÂÑ™·çW/¶"â5 šmÆ‹7ÊÔù#޵Þf%%¸víV‰\7§²Xoµ%cØœ>rƒV Ò`cÚwËmÈ{£ájm â&䫯%]?O�Ý-iÓÆ šö¼8î 9å�!”è¾Änyøoúø8*Ô©.ÏwdeÚd…»WÁž™¦Mƒ›f çv].Ÿ3Àé’µT‚j²«v3).šA#†#…ïèÍ:W*Q>±vë.�¼ï�áò’âÂe‡JÑž|�÷ù �cÓ&Å­ÿ#ÂTFHœ±3r–tp²Äl°ô±a¬9.q$¥wÚ¯½¿3U¯dhÔ'uûAjߘW êr¦ôð=þeECòâSvÏ„i߯½¼!éUŠRCå+ÌÈ›dän®èò×<°e�toÚ¥“ .x³ó!b%¦L$—Ðôrº=…Ñ’žÍµÉW�¾PÎÝ+–‘éZµ CZ+ÜœaªèÄÙQû‚¯éQªnéGÜPðÓ;WwÏ[¥YqkcgQp&Ûqé N×ê•ÜŒ(†^¦L5ÚA¶ônHÆ ó+Y!Ñ{€©­áÞ¾p/8Õç…¶(ï %-\‰ƒrÕ%J*V3<*ZTqF,Ök0á†Üem‚À êy€îkz…¦×�Ðeæ¿RVŒ°æÃÙ\ J©þçéõýA¶ÞTïkE‰~eèÏ)ôIê„S>6[�‘ÛŸ$Ž�Œ�â:„î¾všµC›².Ô,¦ôðwEÇg7ë-;ò˜¦íøF�úûÑw>•˜¥ë2 Jùƒ˜¬Œ5Ê?[+½ ±Ù@-«jÒݶv«Mõr´3 ºF„Á˪Õ;³+Šêâ´xðÒåª?æÚ¨8E†ÓpWGmÊ?pPúTb›¸õþE�øïW;�Cëp«~Õ+Ë".BÑPÍ܃NМíà±Ò ²8*mÝ+Tß%|-ÂWæ=�Ú¬ ÀV™n:òùîo�–Ç,Ò8`†‚_aØË|ÌŠ‰&I®{¡“Z%F´ ¨Þ/qcd�à±)>‘¼Ÿ˜>Q4{4f9ˆU?"ã’ž]µ_n$Ai]—«³I¸læw °°±ü0±ü‡Tî¾öšµ#›³.üËhtðwEÇ':œKM´þÏÓº�½q©ÿŽÅ/ýè ´ˆÎIWý”¶b ïB¬aj rÁð¦í³5ZõSŒÂð‚¢ÍÒ…hì‹j™ß$®QŒ¸-=›++oß:Óäÿ—•m¾®V†aiQ{Ú™éQŠo|‹öPAiÿŒåkºÕ[ÖáWz?a€Á ™æWS|¸*àÄÅiQï•«Q~ØÊ.Úb OšܦdÃà Mo×j¶ÐÐìYì5VŽÌ’¯t(³|ñåêàO6^å,¯•ä–îiÈ£'9˜/ôʺ2èÞ«~#TŸ4ìat{[µ\nèZPZ_aêç¼+=÷!÷‡Tïqð‹¶Å¨~dë€׸PðwEÆÇ:¸Zgä•?°x1;¨ûÐw¥ì19Ž“œ)L¢£+œ3F—"¹{õ 7¿Ò™Ýp+ž¹ *qàFÿ‡W_ �jU\4ˆ‰¤ù¡�ÊQ‘0_²´ˆ÷J£&¬œFÀª·t� ·T)�óLåMؘgÔ§†@¡î?57ºT:”êÅ*ÏyŠŸ­Â¯tr±ÙjW«^¡€UÏ{V�W-Qý§v&`Q�õ#)ãçpNôqAiƒëµ^èåg²ÄŽ:«Ý ¬Íöد? Â�؉Å4,-1ûfj°Í®!MëT†Å!Äà y•Øå+wG+P÷-7ñž­÷B±ÞrxuN÷;Â>ÛïË�p[¨x?¢ã#�eËKü‡+ÑàΈõûÕû­SöZ¢1·@¢š³MíKšÝŒ±&2ó¥zØ[÷!`Fp¼é^uØ8µ+äˆFpà¢;ê1<}B†BÑÙ†—-Mþ»U£õV›éš®»dD)ÝˆŠ€áíNù«ÄT£¼=Ð�ãF¦ë2!Ô*Чï1Põ¶¯tr±ÚbOù+½ µêøÂÓY¶¹*ó·Î‘Û¦%R;©•(Ä�S ²¸ ´®ûUîŽV»Q ´~ŽW•›jû¾R­z20š‚¥é3U Ÿìz‹Ò¤j^ë–žýõžÔñ‰0¤nÙHZwâ¹Zï5MÝrx#îw„~Æ+‡6§\ì¹ã'B¸¼çZ™i]éŽ�ðgDzýêÝÖ«¦§ÏŒìó2(ž÷ƒ—‡‡½ò�Ú@úÍW�£”ò˜ÚÄ,•æ’S& ‰ÝUÁL1#T­Ää-=›++�ß8RÒ8­<¼©¿ °Ç�ÀÁCóTbxúŠ1‹Oüv)¿ïAÞ¡Tü@¦ï5iÞ¶•þŽV{lA¤�G+Ý ”nž0¢º­S»êHåÔ’´·f¬Œ«ƒ“Þj½ÑÊײ4“ìz¼´ÿÈz¼}­ÿÖ‚ Ÿx+]ú=3Ò¤j^ä‹H“ê9ŠÃpr®·¨~!V;ÍR÷\‡Þj=]àÏcU¯É�pÿ�høÉí+ŠŽu»KIîJ¬tj �ë÷ªwZ¬ûŸ²ô • K\©UÖm˜­#¼ÕÚåo۱᥻,{U‘ƒ•+3l&ý:­S»ç•Èz¹i1í‰ÎVɦ-t0FáóyJèW„@õ7½¥mż){ S{fMA7ÜoÄj›¼—ëe_ö¹ZöF‚ Kn!yWÏ© &︴vC„ ’fJZ4Ù‚Ó`’'ëCЫÃÕŽAià¯û\­ûcMZWiê÷U§wåWzs«AQ˜+}º9t«—ß*£&ÉÁV›œ•m¹Ž7*?ˆ§ï5?¸ä>óQê|íjŸ¿*àŠSŸ=¥q)εqi>é•�ñA7¢=OÞ§Ý ßµOØr I“ئo© ëwFÇ­ºÿiVc{„xȹO\·øi/ú˜VÇ£“cßb"®82)݈œT-˨Þ]V©$kI.£^mˆYcŽÃåRùl*~ËÞÉ�A3܈Å/yi?�¯û\­ûcAF œ¥ÊÊÛ·HдÆs-+®õhQÉp+ÌÄ™j¸[‘²½å–ÆaaAhýЯû\­ô�5i�‡«¾õ§ù2s£•ÁÛ( ´ÖéÀDü­Nô­—Ý2ˆí�žexÜ¥nèäj§éP)»ÍN÷¹¼Õþü@¤9‘åpÿóŸã/´®!9Öo-'þåc«PMö£Ôýê]à®{JŸ°‚¦ý“4«'p™›¢‘«FUYk\ð Qciòõו�>¥lÚ³=£N~ÙÚ­3.!SªÞllv®y`±Z8 j¦ÍÒµKô뀥�Žsб*óZ~&v;Hk�p̰c¶ÔÚ¯œJÕð‰WÂ¥O£$Xq‹Ò£½×-¾¯ûJž¼’62ÑNe§é’>F«Û+W‰Ÿ™å£3 {ÕÙCeõ6$…ædBÄ… –‚l70< ´oz¿Ð«�cMZoã½\îAøºà¬·$…n2ac�Ai�Û–¤í „OÍ TŸ�—þô:ªßUÍO“ ¸ÛT/y{�ûÍëüîràQÿå½…k‡:½å¤ûfSõj ½ìýê²H ½i®8ŽÃ€Œ5õÀ®{]Q®M›{Ö’Z,8+6X%! Q¯7ólRØß·mƒ™œª;l­VœÐâËežÛrsVéJÒ£Ý3Uùc!Nq…§?díV›óÑžZ³ì ’�·p¸Åç¬^kÚøƒ?Š^ä‹Fî«KÆèLCÑWBü0†[´ù\çºwzˆÅrê…mûç ä¹î+UɵHÁ±¯Œ‰‚ý­ÜUî…\÷15iߌõkºÕ¼»„«¸pmvÍ‚—K•®8ƒL‘ΫQ”ë9Ï¿)•é®Ýh7eŠ^“ ´‰>rÅ;Hp B½Ò�¸¡÷›à:„zÒ#ñŸØå«œêwŠÒ»r©ýÁ:/Ùûç+;ž:o‘1ÏaËLÓ.tËŸ*çÈ…‰©9-%§!÷d{×ù€¼Î:z““RѬðõ=á3÷™dæ8`ŸËx*ÍæL´YcÅ­B9Cy~eë̽y™˜eÏw›�ɰ1òz=îÒ%ceìÙ<Ó�2WšFÔ÷ÈmqºP]$Ì‚«3+òdzÏGÇTa.s\ó‡ <­ö¯ê¾àMêÅ*ÏyŠC‰œUKhC $td–Çi½ wa�Õ\¾ùÆ ™vãPf`UŽÓT¾É�TdÙ3J˜íxx1â÷¿È¡÷›àÞ¡<á�>1£Aãc¶å©ê Ò»2)ýá:/Ùþ¦÷­œUŸÃ†4z^7N ‘Ls,‹NüV©{…>ð8[�€8 rÜ·…¼-ánjÜÕ¸,…�²«%d¬¹eË.[œ·¸­Ån[Öõ¼-áoj.!Õd§u?Ôÿáu«Qô¥7†�1F·‹†BãöX-À×>7ص\ J5hcX®†±Q ^šø­%ñJHj4Šé¯;Q u�AbÓ›ÜÅ�VÚÕ±‹–ÅÊ�rb\˜—"%È�yx×–�yf/,Ôkå—–^X¯,ååÞ¼¼‹Ëȹ.L‹“"åH¹r-�[¶¹`ÿîWî…ªzR•¡i£!þF:×W¸÷MžÖk“‡i›z�>ðêj[LŽ¥�H#¯óÉ[ܹ²¡<ã§š²…Ûa ÷ø�Õñ;¨j—Õ®/Œ[CY²†µ:øÔ‹ãNCZÿbøÌ+ã×Åë/‹T_¦¾'I|Fšé”.ÔBÝT,×=ð¡#æ•è¶…±«–ÅÊ�r£F‘‚%È�yx×—�yf/,ÅåZ¼¨^UyR¼³—–zòÏ^ZEåä\‰W"UÉ•r¤\¹Ç­®X?Ý®>¢Õ ê!ºX¢1^1üpŒm(ÁòÑ/)4 (ЬQÓ*§G z�L=]ÚKºžÑÊ<%£x;F(ð^Ž�éð&–Qà=9¦�Aú<ÏÑàþ�Xý¹ú< ¨~�êˆðV®�ëHð޶� ëaÖ‚±GK¦z��êt0õ<7¤ž§…´r� hÅÑŠ<££ÀÚJ< ¦#ÀTà Ÿ£À~�7ôxÿ£À6?G€®þ�j(ð>«ú<¬x;ZG„µ´x[[ðÞ´Ð5�މ«§IÔÇS§_M;c©¯`u1È:�G_ žwÅ¢pu‰ÞÉoV­µŒÿæpÚж…°-�l –ÕÊjäµr¹¯-ò±#Nh×(éµS¤Q=N‡¦”40(¨V‹ØÖÿÛÿÄ:QAR !1‘’Saq02@¡±"BP`b�r¢Á#3C‚ÑÿÚ ?ÜdÑ4MD�ÐÐÇýž~ÑÍ“ÿ†Õlßýl·´îfÕmÞͲ۽›u·q·Zõ6ëCm—Dm_d[C´•ŸAYVFÏfl�î65Þlo¸Øæl¶¥…± SþNÒÒ]¬·6¤m–fÛeÔÛl{ѵÙw#i³îE¼:–±êZ"h’$‰!¡¡ÿGxF1m�áÊ ˆ~}Ù{âxú’™9–²-ŸBÛì[.…¬KH€áÔQêAuEŸÝL±‘c>…Œú2Ê} tøS—RÚkÚLÚm{ÙµÛw³m¶ïfÝmÔÛ­ ¶F×öE¼{KK>Óþ"E…‘²ÀØ×y±›Í’ÔÙí‹+aZô%>ÂÙö³i6¸m‘¶Ø÷]—r6›>ä[ék¥¢&‰¢H’ÿ‡û³HýÒHX$°HX‰ DH‘"ÄÄÌLFH‘$ID�ïDWBÎ= (tEŒ:0èXIJ]Yg÷dQK¨çÔœËI–Òè[>…·Ø¶] X“€áÔðõ#¥ŸÝOª,Yc>…ŒúSèË9t"ÅðdËI¯öË{NæmVÝìÛ-»Ù·[wu©·LÛDm+´µ‡h캱,l�šÌÙ!Þlk¼ØÙ²LÙ­Kb£´í-eÚËsj‰¶Y›m—Sl±îFÕeÜ�¢Ï¸¶‡RÒ=I¢h’$‰!¡¡ü ÈÕõ l“$É2L�îÀHHŠ"ˆ"ȱ3Œ‘$ID�ÐïH„zqè‹(tEŒ:1,‘e÷dVF]ORS-&Zȶ} o±lº±- Jƒ¨£Ô‚ê‹?º,™c"Æ} )ôeœú2è'ð[-%Ô¶´_ý™´Ûw³l¶ïfÛmÞͺ۩·Zl�«ì‰Y̲pÿ$MJ-bšÝ¤Êÿ0ØÙ&I’d†3!"(‰$X˜™ˆØÆH’$‰"Hw¢+¡gˆ²‡DXácÆ%—Ý–o«"úž>¤§ÔœËYÏ¡mö-—BÚ= Xöy2Mìò©Öæ‰¿ÕØÙ&I’d™!� DH‘"È»–1g8¼‹²~ Í[–+ퟃüw<£K+ô¼ÆÛ./ ©PÔŽæVHÐÊß_¢äуUÄx·Å¿ææ‘$þš†¶j[š"h+ýKž&oô�]Dy’<ÍÍ14S—…¾d¼RúJ]Dy’üžnç¡¥|v6;ÒŸSý‡ößB„!W¡B¹%Eu­žsÜÔŠ/áy\®¤RdqI …pX¬Eú®©Ï QÏ!¡¢X¹ €ÑÆì8¡«×5ˆ¸]Ë åü>¦y²¾‡˜z ÏŽìÕÙ7QÝ©”?t±g'ün£»T¯¡çHÔRú²""_©.O‘(¦OÅWz»IÍq$±�ÌÓ5ÝCY_8‘xû áų’wäðf—uYÍ¢/zR¦—»CΟäÖRêýˆà4rÀæäÇvq$Ÿ‹š Ñ$ñWÒîLk�ÜÚàŠâÊ1ærkòT£*rf‡|19‘~:™¯àªU%v›èy³üšÙOáY"lw?ÓAàðÀ\næ…ÌŠÃqµ%É¢i�¶TÇ•Ï ®C÷&šH¨Ó—&±¡‚~0$±à›>“¬„ª<¹]å«èÌí%ù5?ŒÇüƒÆ;›Cúšü*ž[»É�úY©• s±±±ŒfЫðªh»Ê�úÞ¿Ú©vVQ¿+9]ë¹]Ä!1W"$nB„!n¯äXÆ1ý'­þŸ›´+ü©]¤­ÕÝäs¢æEõ1G‡T. \—‹šlQê(áî|¸ð9"Äï’â4˜ù1 ¤¯B˜®W!DEr„!ØØØÆ1ü;ë¨Ò¯ògv„Wžv<^m–ȵ‹Zy£%v”º‘r(P£-9¤Ùk‡û-¾ä›äMåu1-¾å¢dQͤGR/©ÔR5ˆŸ±›ÄI<1OÇ àx–8àØŒ1õ, &×#†êázårä!1B·P¯Bâú ]Fj‰œ‘¥_åJí«Þ©ê?š÷¹›Æì›%ƒ"›ö Ži28¶Yˆ­Ïÿ„¤Y¢‘Ë�–%§‡‹t[D´‹CÅ(Ýèh#‹\Ë2É–lÎBã�&Ë6Y±É6>)&IüÅoŠogí帒EHà›#Žˆ¾¢‘âOq­è½Ú]C9£Ì�ä¥ú.ѻչoägdï©ë} ßMÊž»ºJÝ¢é2L“'«>id™Ä¡[évq¿I’*dËD‹X˜cÍ`%Š©ààÕÚ·u;’ñm–LÅ1c_Trf’or£à`ø�Dq`œ^ý1t?%/¥ÚUôÜ©î/tqB¿2¥J`gÚ]CQ›w.)`Å»MÊ*hEw´ïiWòƒàf¯ôGî‘R—ó𲃺ˆÕ}n«»Ùód™Ï&sÌçP®ïíX’”KiÅÔ—…E–è´Mà÷èk<ø~JnÑ_M׃\˜ü2:¡/trº�™+²fi­Ý7ê5¥Åkîa!^²®¡¨©¥ 1ENX�þ‘ êž·å÷][½LÞ%M7é)¹ªúž¥J6~ÕŽæq3‰B¥oõ4ߥßôº†¶yÑ)~¨ÝKé¼±D¼JŒmI ÑÿúT¢Gî•úŠîiWê*|§ê�Q/ôt|…î®xc™úxc{NíEJ#ôáÏ Çöè%Š|îù’ÂHx¬Ð“ôg: ü¥w¢»'¹’WiwèÝàüB³=nз´Ý¨­ôf›ô£VýUõ‘梗ë‰RŸ Ÿ2äÊ9¼O�>#COsLÍ-Í*úÞÏÒê‡�Å.èåu£E³-›cã…ÚŠž‡…,s¬dîcðËì/ö‡â‰ódÿðÊ™ÅJìÛfELÒº¥OSMú[êG–‘}E!HIpåu]Ê”»Q[ô³MôF­úßþF½ÌíQ©Œ£2-(ý‰%íu.¥ÔWU| %ÉdB=Fú•»PÇ»Åí Ïi(dŒ‘S8§~H©Fi¿J+un´ð§‘n["qu(Pô5nЩR·é)¡«~·T¤�OsÎ5¢�;�ŽXàŠ¸¶@ƒêx�¹p2•ÔÜ©ABG¡”7ª®­Õ †LÎ7d™S8LÐ{]¥šoÒ�WTõÞ¢= [”fQ+uoÑ»«~·TÐÊKsÍ5¢Ÿ'ÀLR?LNIšOmÌâ�úw*i#>fºœÛÅÝ]ÚÝ[ªÄ!B"#.I]ŸÕ™»½Q”Š»´”¾ˆÕuO]ê#8£ßs(¤{Ýзj÷êî© Ñ-ÍlÖŠ_]ÄJQl·êZ@›—¢8ErE¦|Þ/s5Ã8bˆœ?I0wäÎ^Q“h¶-R'âcÆoìi|wjP©R8²/¨¤&sÇ£G€ðê> ‹»IÍqˆÿõxáÉ»²g°j„üE.Ñ»«r—ÑÝDeÀö~Â"ÅÁs2âÎrfM1p"#?Â3•Õº¯ÖêžZ<©n‘«r¿~¢™!]> '�$îÇ€îÍ`Ab.,LWAû‰¶Eàž,œ£è[2Ѳe¤Z>_‹E“!#¢/ÃZˆÍ2 M6d®|’dšŒå¸¢$sºsd_R/¨˜¤/“ˆŸ.Bæ®è>ˆlIœ�ËŽDQ„GsÀà>Lx‘�Aáí¹Í2)¿�KéBÜÐÊ2¿E¥”¿5uÚ·+vMߥ³ö«©w.WRý;ºŠž‚Mø³!x]Uß¹}ïÒ‘Ž,¸.FR9©"ql療^§€Î% !r%„—»<1MþJ•ÌÖ7P›çô4Wú~ Üò�,¯ÑhÜ¡DQ]V!_ž ÊWÑ#7vg«5]“wQšwu»Uüâd÷3x™À÷Ý«K¨Žj?vrˆÆ|É]™Så|ÎK‘— ¨j+ôWP©þžR42¿E DDpàg#&‘›8ç�Í q»ILoõf|nÒd°*f“2•Ôf�Ú•º®ý7Q+²ÀõFqwÔõ*î¡èQ]ÎRÝÊWdŠ`{ߨ¯ÑPÖV;žR42¿E¥F_»Ôp?ÑR¬µÀ·-�ñx»ó‹»$z#%î•ÚLâTÒSr·j=J»èÏBˆÌ©S&W·Tõ¿Ièd‘G½®í&O,æß3Ücû£‰Ln£»J¿Q¨äÖ''öbÁà~ç‰Éù¬ižæŸ£¥Ú¥}:F¤Sèžãd™&™&Jìº^“QX"…ËÓ nMÅ¥Äx¼Iá‚-‘ip$±À”\è`›CH†(³e›#‡«ŠU»8þNMpÜ|†ž1wQŒ¢¾¥Oš?t?tb¾çdp‚ä�™ò»J+uDžd~gÍš~Ц—»CΟäÖSù{d™&Iß6Ðønq‹ ®Ið"ñwÇžc“¹’ðÈqg�Å/°î”[ð¬F±“¿‹äÑfÅ‚ðý­ÕF‰]¦útÿ&¶Råý9î2L“ú[ª�._‹´_C;I~Moè}˜•ËÕ;¿û hhÃq1>‚;GuO.WyQ¾ŒÖÍOè•èLNö1Œ{Œlw¤$$EF=LLnaý†††·Sø+ø:]SC»É�úY”™ž,ÏëP·Æ``$!½ŒcÝllw¥ÐHHBêcÔÄÆçöÐÐÐð÷új_¦ï*7Ð_ü�¯fs‹Å{]$4`$"$A�}±?ãVãcccÆŒ „""bbw¿§¥ô_›¼¸îCXsUCjI–xºÄ²™ AZtú—iköeºèËx›EŸRÞϹÖ}È´‡TIu0"ˆ.„A"&b66I“dÉ“D�Ñ�€‘$A‘dX¿…oê+ÍÚâüV¦ÏãUƒ6+nÓd¶ìfÍkØËö²è/ƒ&ZK«-§ÜË{Næmê[Ì·}köD×j: Ï¡ 2Ê„z– ¸Ùÿî,RÆe�¡CÇДº�µ–ßf[Ä·�ogÔ·³îE¬;‘8õº(ŠèAt ˆ"Dbb6I’dÉ“$‰!£! È2 ‹"Äþ¶†¨™É#JÞDQAh²�B šÏµ%—b6+ÔlV] ŽÊ‹ïgü�ÄíK{cjµ6É›kí6ÅØmpí6‹2ÖÈvD,º–0î6n’69uFÃhl6¦ÃmÚlvýŒÙm»aiÚË9tø-“—RÖ}Ì·´îfÑiÜm-ä[}‘hº"Qí<Yô,ìË ©³ÿÜX>âÆ]K)�´ú} ¾Ö[}™nº2Þ%¼:–ö}ȶ‡r-#ÕFDQЂ ˆ""1$É2L™2h’00$›æsœ¾È\íSèSø$!"(Š"ˆ"³EŒzèl¶]¨Øì»Q±Yv›™²DÙË)w1O¼v¥µ±´Û]¡¶HÛ:ÀÚãÚm0-¬‰Y Ȳ‡q³®ãd}Q°ÌØmM†Û¡±[ö3d¶ìfÏkÚË)ôd_ÁdŸRÒ}Ym>æ[Úw3hŸRÞE»è‹_²'Ô8t#gÐ…™eÂ=KÜlÿ÷êX̳´#iÐñô'.ÒÕôe²èËx›D:“ñÊ‘?Ò¢#égý HHŠ"ˆ"³E”zèlÖ}¨Ù,»±Øö£b²èlp6dX>¬„ûÇkÜZZ›E±µZ›d͵öbì6¸v–öe¥‘ÿ >âÂ=ÆË÷FÅ.¨Øm †×¡±[v3c¶ìfÍmØËNÖB]÷,§7H¬Eà‡–E$—ö!!"(Š"ˆ"²�BÆ žÏ´Ù,»Q²Yv¢Ê+ÙwÿÄ% 0@P`pÿÚÿ´¸^ŸW§Ñ¯­­««©§§¥¥££££¡¡¡¡×õý~†††††ŽŽŽŽ––žž¦¦®¶¾¿£Óéõzøpã�ö¢ƒçÆ1ŒcÆ1ŒcÆ?,ç9åË—.\¹råËŸ>|ùóçË–sXãÃ×ëõz}�}}m]]MM===--- ¿¯ëô44444444tt´´ôõ5Le'êWÆ1çùÆ1ŒcÆ1ŒcÆ1ŒcÆ1ŒcÆ1ŒcÆ1ŒcÆ1ŒcÆ1ŒcÆ1ŒcðÎsœç9Ï ¥!öþ`…y?Äè,FO÷cøqŒcÆ1‚EcÆ1ŒcÆ1ŒcÆ%}@ ò,ÿÂ=<_â>E>~`R¨x?‰þ!ôüÅ\»³$ÎícL~C7^y»‹³ûNÑ™«�Ú"ãí7Å3½¦srJÄ¥HCÊ^Ê]ÿÐð)Ãó•B‡ä„ÐùY”¸ „:][±`¹5P©5<Æ©f!UGBaN‹ãH�-˜®*’µ>ƒ1VÃ>BZ†ú÷šOÔ¯ò?Âh|¨O‹og&c1ŒƒÎFt\¥Hˆ%THBÛ5ˆo‰³a¾&³‚*TVj¥ÔE¸ãr�¨/ð ³õ+Àü�ðŸ²ƶº[Âãê˜:!®là¥ÛV›r˜M´!ûkpQkõ½jnØõ¸[X·ze[!Âþ�ø¦…>~¡…x?lcÆ1ŒcÇüüSI©Gê(4(PòKÓ\¹›°»"ïQS·.Û¶fCò»NÓ´í;ArìÚyo.áÚ šgû÷ww6ö½âHY{ßî÷{BòWîòåŸñò?I©§é€| O™n¼ôh)³›7I$§[PÔ‹[²£®Òå´†bu«g›O=)[:Í ‡œB}^°…Qz*¤¸—ý¾ï|Þžäßw½3%ã¹™’Ut‡p &\Öî/ÍMÍW>Û¶íûtÝUt‹<uÃu�7““sí“vjpSÒû6ÝðäÁpì7÷÷·S,&…"®é±å>f¶øƒ-©Ér‰¸=L±1»s¨5>ž«XÅÃéqVç’q‰ôí[Ã…ÇÃ"Q¶¥-ú½3ƒª·F ú Iì*­Î=× m)õÉrRê8ÅZ$GŠÀ³*Õ"­a>&ê×Rå;!˜+öÀõ¾mÁ\¡Ð¥Tå0¥E1–´W¥†šÉ¡H«‘úÉmÎÙÔÊ%±t2d»od ‹lª:Å\K•mp(¦Ú—j!¹ìÝ™¸\é‡,\…Í©)5(Å’.�´k„†¥Æb[Wfîhzb¥¾·ÖÛ&¢.{®˜ L1AÚ–m¡UI6ç±.[ïT ’ä&›@"k0—1B¢Ð¥™¦l>%U±)HF<Ÿ«™ùH?è¢áHC¯-©]Šæ•[]q+«x©åšcšvÙ2Ú•)×C6î¤ZáÇž[¥Tš‡¦éc[@[OZ]²;©Œ¿1×&ºG¥ñmvkŒ¡˜`†éê–m�50ȦÚôú” âÔ“l ¡J©Õ¥Su…8fxEI©&Öô|"®gå |šf¾nbìn®ÍHYŠÊmÝkÖ×Ùµº Ī ƒSLP©"è.få*M8ƒP€PžcÓµ"­Î bX•ï=ÅÙÏ-6äOn*¤9²™¨‚ì…ÛY]K6ðŠ‘R�¬ œ^«ZBxÜ•2…±Äšyrœ„ܪ�LP§Œ³m ©fEZ€¡öйŸ˜á^OÃŒ®Ølý2m „«Txabcl�r‘ G�N*M2ÓÎ-�G¥1aÛåD6¶¨KC«3b;¥èb)o€G©Äû¶9Å·¶‹‹e%Ëc8¸¶…•ÀeÚ•VК”dU¬ ž]«`.Eu7ˆS7NÕùÊ\“Ø‹—fô÷œ¶G4¿V ?UÄüÄ òg*ia‘h6—[ba~B™c¯ëôTÁrÞè£SÞBn[Ï;Í"8¡1qžl”\(>ŠvH�»¸ÔèÒÅ8‰KÙMÊ™­‰"êneö¦&äìèñ…Üuvp"cE�›C]’©ë¶ªËÔ&ÌÅ¡ âSZ Å‚jyù„äþΙ†ÜX¹%Š‘V°mŒ¸©N±YºwíÀEvQ·)2„£"i†%—jÚ ë²å=©+x¥<¹­v·A¸*Ø*âE<‡*Öèñ=çÌåpãp� éJŠ¡ûV~má^ÙÖ×g‹™¦ìïD]›¤ézdÚmÖßµ Rml3)·mð!�‰ ¿Å½|c&Kp™˜—›JýþÖá1Jâ4Û^·šÄ¶n4º· ¸é MˆÃíÝUtz\há™FÚSXq*zj‡ìhx?p¨P¤ÿ&1ŠÆ1ŠÆ1ŒcqÇ�8pàSêõzCA¦Ï©C|º”8¥Ô¡Ç.¨£Ç"—Š|r!Ìd9Œ�5ô7ð»ø7ð>bèK˜ºãEN8•8âUâ‰[Šmñ+¿ñêWܺ˜ŽÔÄp.¨Äp~QˆåþQˆåþQ_–Êü¶WåÈ­Ë‘[•.…nTúysèUåË¡S‚] ðK¡.Ksïów¯OÔÑüËÆ1ïñïñ’$=ä†1ŒcÆ1öyvyBÜ-ÄxHp"ŸèR守£Ë�DQåG¢(r£Ð¡Ê�CË�CËF–Œ7-nË0Ü–a¸,ÃpþY‡Üú˜>¥ ï©C|º”8¥Ô£Å"—Š\r)ñ²ÆG˜ú šú ›ø?Ýü›ø1t%ÌDøÑSŽ%N8•x Vâ�[|Jÿįüz•÷.¥~ÔÄp.¨Äp~QˆåþQˆå•ùl”]¥½}û×�£4ÿL±ŒcÞ=ãÞ=ãÞ1ŒcÈÎ6’M1S«8-‰ûÞ?üY§ÊÍÓ’ƒ´¾…{ëNW*Æ�ª?OóqŽÖ‘liü¶ˆ¾"¯Ýïx“ûMúJ»œŸÇw¶åxÔŒŸu/”׳D^½Wüß½­Gä��º¯›ÓÞ�/R«vŒLJÛM“¬Úpµ…D’ÛWG±‹vY¨å.*Q¹ ÍG) NÖ!ÂÊ|,§Vå·2„�¯bs_B‚v¹CyB_¸…¯} Û1J£´dF*í”¶tR†ÙçðÊäbµe4S–É/ðzöÞsÉûÚT~hÕvê¾oOvÑcuYf¥mYÄiÁ±ÕªßB>Á}Yì«eú2ôË×^†…©³Ç�öwÌ>Eí,Ù�H”éEû4•÷Þ¢‹z}Jø©<ÐmÉ8Iì/SÖFÆíþHAޔʙ'=ƒs¶öUÃVM½R…Óµ�Ü=iú�÷S'8JH�:ÉIí.“ù�G_Ñðç÷öëóZ{·MTœãÑ*1Qq½…À:°ÑX«[X;$bRøÊ”ª¥–ÖÖæz~DiU¼··2©7õ×£¥~Ô•ç&Ý‘7{JÈrz92³ÙW_µõ+'û‘[$e™•3|R3Á>ÇJ/+*Åë2ug–R.Y!;E•§$”ʰj̪ݳ•c¶DøÑ>$O‰Þ‰½ÄÖâU§•®ßg– íÛYl"•?©m�äGë�MŒL…¥5"¤»hÓv“(?©‡â0üE"‡CŒ£'e1?wCRØwç%ïÚœñ^æ�®t݇zÊ6vh¡?ÜB[$»nò¡Î¦žˆQ £äZRFZ©o.—e©³¿ÃìÔñ$5Az")*i=±¡µ6wâxHBÜ-Ýž$‹aסñ—©ý·Âˆp¢Ÿ )»"òQúe6“e>SµÚqèFîÅ$‹T3R‰df�‰Jò2V‡©x£,w9¦žã¼^¢ó‘J¤nÛ(¤ÝÙIÛb#Vq‹)¿ÜÈÒY”Ùe/S¿.ÛSfÏSI?1®êd®ã¿Vb1æì‡ÆV¢¯J´ö±ÔYdõ.KÚ=YjQôìÑž+')%©‹ie‹1«jeh6›Øb'ð˜ÎÐÄûHf§-»l5ïjÏ |ýû%éîiÛr�}v2¼àîbém‹*Áët5lÒº#*Y“.å#=DÞÄ,¶-+™*/&f‚ìî3ÄE¨ÄÐïªýHÎ’L««§ª14]¥ý•aõ’'õi”êhôbtÙâD…j-·w2£x�âõ$[ý¨»«\#òYåhU ÑV”µ‹õ%GEx�ëfQ–Ý sÙ$f¦ËI3G-6f”žö^ƒ–ó-DÌÔâËE¢óŠþÌ´so;ì½X}ÇuÆw¦^´} jlÿ²rre2‡)Î,‘Þ�©–Œ˜ï&{J‘OÕŠ1K±J,JrjÇÔ½‹Ô—©jqìî³Ä™zÐT,ŒøËÔbÜ/iܤ¼ß½yEyûš{Ñ{QC+yRfY¡ª \ï%¸tÕ•Ñ>9 §ÆÛ©u°ÍI.ÎéâÿE¨ÃÐÐï—«ÿ#¸»)ÍkÌ4ÿe½c¬Ñ8I+±Î„[3T±Z¤SŒŒWäŧñ~J”iÚ{Nùz�î-@Ñú�¯tÊ\l§ÆÅBy³·Ù «J)˜j›#”’Ö18g­ìUƒ[ÏoBþE¥"Õ-½ÛsQBXt¼‹Kû/GÐÍ;­_Vd¥o#¿2õ`wQÜf³<_èе6^Æ&ZÅ\Æð>†3–ú¨+¸[ú'9§"ØcGêx�·ºÏž$~îËÕqÜ]�Æwæ^´ á³o©ß—èí5¢½}ëÕ¦¿’4}º{“§••`ìæO�âDgñK1*Õ/aE[é{jªë͘vµ¦Œ/,  Ü`{6ü™i¸š#ô-F†Œñz±û…F BX”JGµZ»#=K¯D:t£xŒµ(úvèϽE÷¢�ž¤)¦äþ¥2‡(q¢’WÌŠ/÷¢Ÿ)ñ"MGQ{T�ÕZlÉV>¦f:•“Üxv-9c4_3Þ^y·ƒ;Ó/Z†ˆðÙñz�ùvZ›;Ñõ;‚á(3ÄEð«ÐµýDª]Š0fiMŽU#Ô´‹Õ_yÜ]–ƒ5™â¯CBÔÙÿgÅëïììÑž%5ü}ë×¥÷>Ý=ÊuU¥˜i~ÖP{ʧuúûú®Í}‹Þ¾"™§È÷YâL•i$¥´¯ÆbRÒF"„­+•!5ù=¥ ù ^ÏêW­|³f7{1Þf9}V¯5fN3µÌô£Ùd]åDå6–ÁÂ’2A’[5m•ÔseОaNœX¬Æª2S«æ,¨Dw^ƒÌÖº ŸÖÄàÛ»ÚTþEOæ5¶â¾ª,¥SEdû)µyE2¨Ôa½ {—BKdÇ^â”jœHÑ•â£èO�’³’(¿¤HQø2¢£_CÚ,³IÜÃâ#wÉG –‰ |(šá#YZv0ózßú(äQ‹#%ª0¹ìéÙù~�”ïñ²œÒn£(Qøc®ò6¢„ô”J…ž�Ê‹áš1'æ!R¦Ì²ôf®=™ ˹ÈÏQyj(ÄÍ,£©SMöBŽ+} ³L¼2î;¬ïȽhÕÛÞ/R^¥°èÿ²³E3 ʉ‡šv…‡BNÛ Ó¨�õFzi™ Æï¾LSŒ¤Ð åmå§bãi%õeQºlÈÿ²ïrŸ;I³ÄFL:c“•Þˆ­^IGc؇%y̧m$Uûý7¢­9-uG¶¤^£%9mú“„µ¹ž -ê»5%í%«<8ü†½�Ô_SÞñŸÚÍ;u_­Üf³))i°kè‰=ÈŒ¶Ë3*W©¢* ;‘°�5¢’*ï™WŠEJ®W“fh²Ó‘’¬zŠe•‘šj;µfZiµ«2A—Ì÷èŒÕ/¸½6‹JFZ‰o;‡zeë@ÑvhwËÔÿ‘jÕzšK×µXµSÀ�¡w”s©§¢(¥äZlÉV>LÍÙjlïGÔî¿^Íú2á£è]¨ïbwŸj•6ecNHïȽHz™GJª ™Þ/Qú–¦¾C^Í|E_¹ûÝú�ø›;uýo Ÿ©í¢Ñ9=E+gD&¯™–¡ž”{<6wâx}¾,‹P�¡â£Á�o†Í¾§z^†²/VzC„îg§fõEæ^¢ûŽâù ½š"õª¿æýïý¯ÐÙÛ¯ëZ›6ú�év*”Øá"Ï#eàx‘#F 6#ÂC„§ÂÅR)£=6eše¨äú�¼¿VÍ3´dƒeå)n%^vL­ôš1ez1m»Ž2Ô͆>"1›mýGŒ£ÆŠRM)"õ$^¬>âÔ¿£Ä‰ÒWe>$S‚v•Ù™¹IŽ­EæÌ�QC“ÊŒBÙË1²R•Ù¶=�Æxˆµ(öw‹Ô‘à/BÕ‚WíQƒEÜbZœæk2õaè^2ɽã¥R̼®^¬>㸾Comå'æýîåGæ�Wn¯õ•HÙ�—ÿF,5ûÍß²ê«&Ô¬Nœ”£WðJ¤2æ''|è©ÆŠÜh¯ÆŒJzMœ3Å¢¼Ûµ¬bã±þLVmQìà¢U”‚1Rý„éFó�¤û}¤±‰ÌíMèÌDc8Êœ‘^Wµ9t1q·r] g-ôf/–ú2»©ÔßB£”»Œ¨«A82^ÏaS2j%hþÒ· êb‘�‹¯+Ê--ìŽ í–ñ¹ËÈuj¥çvEE+ÜEÅèdœ•‡ ±è^(îž!j1ô4;åê?¸S¢‘:m»h:2ú¦M-¨›_B—×3*b*^Þ¬T¨å[�ŒñW¡¡í Ì“ÜBPÖZ—«Sº¾JÉ¿/—ÜkÛ·ü:…¸Žâ;…¸Žâ;„C…áE>A~Ô!^ØD¥xÁ/r�GyA3 šj”DŠuU§˜W¶™ qQв]”k;Ê&I<¯¨¢¬ˆÍY£ =rØ¥ô›)ñ³ ©È„QŠHRV!;÷Ù<œ”ÛìRVdjɵ3ù’¥R2Ït‹/�ÐÕ¥QÿïÚ‚û™¯Ê! yæyžg™çî¿y�ý¡ª-B¯Øýøºy/ÞL¸÷p÷p÷p÷p÷å„! ôüÏ1ïÆ1ŒcǸ{�#Èò<�/yB·žgŸfƒ5ù]ò-†«éúã²§]LGèb7®†#øô1¡Ð¯º ü0+p@«Á§.%N\Iò—R\¥Ô|ŸÉþÏä\ŸÉKêC”ú”ùL¥Ë‘G—"‡.}‡àŸDa¸eÐÃn—C º] /ŸC ½ô0œ_†a8ÿ Âs? Âs? Â󅿣 ÍF›¦�¦�¨¡Í�TQæÇª)s#Õù‹©4G� ˆ[Ï3ÌóñŒcÆ1’$Kq-ÃÜ=ÃÜ=ÃÜ=ÃÜ=Ãø Ka§ê¿Ë2[Ù.&OŽ]JœÉu*ó'Õ•¹³êÊüÙõe~tú•ùÓêb9²1Ùžk1<Öb¹¿„b¹Ÿ„byŸ„bx×Dbx—C¾= Gñèb7C¡_t ü0+p@«Á§.$ùq%Ê]Ir—Qò¿'û?‘r$yO©S)ò™G—"‡.E\ú#Á>ˆÃpË¡†Ý.†ùt0»ßC ½ôf‹ðÌ'á˜Ngá˜Nbü˜Nj0¼Ôa¹±0ÜØõ0Üèõ0üèuEtz¢�6=QG™¨ÃÓZÕ�[žÚЂ´ëÿìÿÿÄ% 0@P`pÿÚÿ´3Sæïooww~ÆÆÆÆÆÆÆÆÆÆÆÆÎÎÆÆÆÆÆÆÇwwwooggg>|ùr»ÿmÐ~nîîîîîîîîüÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝòåËŸ>ÎÞÞÞîîîîþþþþþþý��������������������ŽþþþîîîîÒ?§�ø!Ä_›¿›»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»âîîîîîîîîùräJB¾_á?ÆÙ“¯«ý »»»»²#wwwwwwwwwvF×Ô€~ùñªªª¯÷[�óÿÄAD7õ „ƒüKø•óLCN?FL8ðK*xÎã̘aÌsP=g¬v zÅ㉂Çzå@èÐr"[8iŠãkQL‚�¯)ú�ÁüSüJùh£"{¦¶Ú‘5¸i˜ ”�¥‘ˆáõ*lRÚH\ˆ�JBA¡,¨¢'"P˜S²Øq½UUUU}¤/ñ�Á~)þ#ùB É• ÖLjô¢šÉ¶Ü–�‰GKšy(OÌŽpb5!ÂYLêä¡L†]¤¶Ó‘™™?èWà�¿ û|•~)þ#ú#L�­•9h“´S·÷W5œzÉmd}¢²)�¬‘¸ÎMsÕ”'ZË9“g"y'ò=ñrs&Ÿô+ðHX ßÛÀü«ò»»»¾\¹råË—.\ÿÍ/ãWà� AŸ·Aù_’&¡5�,QâU‰“(kêOüv"z¿Wêý_¬Âv"žk1�>Oˆã&fBá¸Â²m˜ŒÜVç<¡ § ·Ðy6›(E4Ý@'Â{»Íä¢L}¹MDj:%IŽîE¦ä'.ÆM·%Ì÷,Ë!51ã²å™�9ÆeÆ‚N8C%@%”Ã1wwæþRàƒRøH?Ú0†R£ž-8¶"Èy·'chèOŽÑÁrsn& )£"3y™r"ò !0Šy¸ $@'ͰÀÊøÇž@¡4£’ü%!ôˆDÈÉ™ˆL–IÓ;„ã È"K8OÍeÄA'£?Ù!~5õ$‚ûE(…*_¹‹1ÔÌI±=ýÿ`ì¢Q[šâØ‚f'´b 62f ‚ ‘Ÿˆb(žpÊiÆy Ÿ>rþÉ ò�© üWí £ ‘˜„ûKÉF„”¸g‹\¹råË—.\¹råË•ÝÝÝüÕUq2þ4ƒü ®�}mmm]]]]]]]]]]M]]]]]]]]]]mmm}}~ŽŽžžž®®¾¾¾8ñãÇ�ªªãUUUUUUUUør¿ã°B?úõ\xðá××ÕÕÓÓÑÑѯ¯¯¯­­­­«««««««««««©«««««««­­­­­¯¯ÑÑÓÓÓÕÕÖ–YgÿfÿÄ8!QR"1q#a A02@Bbr�‘P¡S$`‚3CpÿÚ?ÿÍM’w"{Ù=ÌžæOs'¼©¸©¸©¸žâz¢z¢~Äý‰ûÒ$´D´D´CÚ‡µiúÑþÏÐ-¢ÚGk#µ‘Ñ�Ñ�Ñ�Ñ�÷)û”õe=Jz”÷÷÷÷÷"žäCr!¹܈nD7";‘PµB×üç§/ðÏð�QêÇ«%¹’ÜÉn‘=ìžöO{'½“ÞÉî*n*n*n'¸ž¨ž¨Ÿ±?b~ÄôD´D´D¶¡íCÚ=§è?Aú´[Y¬ŽÖGFCFCFCFS÷)û”õe=Jz”÷÷÷÷!>Ïçôß;�ÿ&iÝ3ù½?çðÑS‹šº(Û)ÆÅ9Nðÿ7'Ù65Ý5øN>n•ç힃Ç ôƒÿ=G _t¥(8®¦ÿš»sµ8x_6Qù2cšü ÐÏæu3e+]œ;üȧI&¤*‹2 ÙU^lTáŠå™ñ_qÆ.X‡5{�q-ÄéÛ2¤‰î*Å]Å…¢«ER´~…LXlVeZj훲Ed¯b¬»"¥?¼‰ÏҤ;Çüf\úW�›8óÈÉýŽkðYü·šÃ%�¤òDµdªM]Š�2_³âQÅ¡iÛܵäÍ™£Ð—ðdqàmrüì�I/‰&ÅBIgô+âûìu¤È)Æq]ËR¾‘8¥,–^ K*‘Eã‡Ô�£–bV´.Ø¢ºœQAw‘ÿ©A¯£)9Ê6YÔ{#ß(ͬH§%|)Âê%™y$S”s‰J ·”ïÒSŠÎ%9%h‘ØGa„v�ŠÍ’VD)FüÕIY‰ŠŠ½ÆÝ’*O¾BQhÇô*Óú ;4JªÉ•5%JV|®Ê³WEdV+ŠÚ´+%Øqv&FlÌõ�Ÿª^yf¹gÍFJâ•3⻢´>…H÷‹ÛH²LP§þÙŠ½ÌPF*mèZO–hô™ÖÌùtDN³ò^™UͲqî˜Æ]£Òg[£Ô–§c¢%ø‡äɧü“»êeMÌ©½Žm]Ü´—r´[Šm"¦æU_�•×j’%9''vËÓ0Ô—’òH²DSP1RŸ‹–›1L²‰h5¹ò´%ûJ´Ý’Ei4¬‡R+rT£&ЉýÒU¯KÁпž}GCð_ öÍ¢ )OøE )gì-…ÎÏ"œ×d(òG¹g‚xgÚ‰ÍÛäÈÍòë~>|ß,ùgͧtU£—tPŸÞÈáªö’(Ïè…+áC…[2É# ¸ñß–85ª0ÍòÍ‘êHÍŠð:unŠM(ÔÉ”*«©&QŸdˆ>È�<ÐÔ’g¤T«6þ„õ*jN‹Ï—LK×fKÀë+ kÖF”n|)”ªÁZJú­ß1>ÅXö*C¼L21S>º£Ì0-^+C4a¨Ìц›f*ª:dd‹SŸí:Ùê#$zRòfγ¤œÔREm ÛIÂ]HôÙz±^²0BMxC”Ÿ'¡¸$Å*sñs3¦%æùu£(–§Px˜ÜÌ—‚Ô×–;÷¿.KžsñódùçË7óN=›+¦®ÛF(6)q –�’3Êä4Cƒ¼,<}Ì5$ùv=$^¬¼�HɃý¬ë|ªAå&Ž&¼®*ÖSV"âÝ–b…y%©†še*rjQ8m?ѵاZ§GnV�ðËÖe£ü(Y¢¦Ò{^p[”àï4qîîAýø”8…ÒÕÊSNèøËÁ§á™Š»òb®ÙŠ™êù,�©Áþ”c¬eÔêlõ —ƒÓþLÙÔZ%å6p{—öp{—öp²vM;û‘„Š/Ä ËçÖŒ‘Ñ/ÚfZú³­òõ”OJ~N¦u�?ÁÑŸ.æè—‡Ï>Y¾p�®ˆI]EÚGa8¼’Š#J�®bêúÉŸ iû#ˆMÚg¼¯9ZR>$S/ÌÎǧõeå�HÉ„ÿiñ¦ó%ôeMJƒ¦ÒQlÁM&c­)œKÕ——Ï©"Зíe곡“›I/¡[B¾Ò¶Ò«vÂV_”«±•v2tÜ[v»ÆåŠœ¼0R~ù­ËÁ”d‹BÚæ^¡”OJ~N¦u�+Áйf�M�_ÀǨۉé÷,¼PÝ? iµÉÊh²ˆ”'ýrè—í:ß+ÔFQ='ûŒÙÔZÁ”||ùsé—Ÿ›Ó—�°©KîÈâ#õE}[j8‡ÚÈ­)b”®U�Ñ+¤šK›Æ¬W�5kªÁÅÅfI»Ü«G²¹],é\¨æÛˆå5b¥8®‚¥HI`Í¢¥7|7$•�1>ô¿ÑNÿü_èºi2¬ïaE(}öpÎ)9â&Ü_i:y#¬W)Μìó°ã6äšW8x+9£„–NháÂjp–ÊqOÉGãË­Zç %÷‘ÿ©CS…§›’þJqV§›'9]¦Y¤ÊrŠ»! ¸ËÂ/,:’2)ÔYÉ kÛ1Ôg¨Y#Ò~LÙÖZ'L|rÍ“=Gϱé"Õ›÷ íÅR-Y4Å'uÉÇ(ÀT`Ûyê)Ë ^H‹i6)GµÌM´3Ê-±Ó�åßè…÷åÔzlÍxù³F\²=7çæôåø.´tÄT¢ÞÅÞ'ßb�xÞ6e*�yg©ðë´+f¾…VÅ„ö8?cƒkº)N·CN-pºF’äÛH²L„`²ÌS¨ÌRL…³ì‘ùaO2žÂlxÐ¥™S�´62Z³ÌŠŠy³D*$RÕµ‰Ù¡Û)2­7wq¢¢’Q“Dåå/ìž÷ý‘ÑWŽEYÙ9²ub±6×»#´ÃÙ×i2¥_¾Û)¦•‡O8]øwe+ùEn*m³s ÿ+'KîœLWÑù+99IŒ²v8¥iÝ{•þ±Ed›ÀŠ�É@¯[¼²%[;•aœdWáÞ õþ±g¡Ev‹*ÔMEaC“»|¡NKÃ(µ™N´º>lÑ—,�Iy7¦ÿê#(ž”ü�O”Ó‰zwâYh³(ø%£%£ÔŒP2RåŠe”Q†÷Ès™d˜©Óð®Æë·©Š™ÔÞ§Z2G§Pê|³FH´W‚õ™Óü¦£†MOüŒ¯+Êâ¯|™”ÜZ0M˜¥qExD£(ÅHø�^ ÂäèK$ŠÉvEj¬Å•(ZÅM£¯(Þ)fzF:í+"�ßÓ»mB$ïœJUÕ»2œâÓ‰ðª™!SY¯¡ÆêÆ6–LÌì,ÈõÛæeË#Ò�ÍмóÈÉý·¨Œ¢J¬ZZžÌK;2qúaD(ÓÍä¿Ùñj¹jÎ’�Nö¹KX”ÿI qVHÃ4^ÅJ_Ùi´v0SoêÌSqO$b�Ë$aƒZ–¨b‚1S¾ŒµS(ž”ü�O—R2E£ÿ«/U� íã›È½2õ¥äµ˜¡Oý±Êµýˤc§%ª0ÍòÌôÙšñ˱é#/&9 tójf( áfH´'à¿KgĦÌ5,d‹Ex:ßÛçòzpñótÇÏ<ŒŸÛu™/è¤Ò%°U“¿q¸»I§bª›ÄÛ3E©2¥9¼3hâägÿ#+VûólÌì)CÊ=k{–HTàý•�ç6v§ä©Vn䓺d©YHǵE«™#Ó¸ÍòêFH´%ûKÕ~OM�_Ç>Å©£/%’CÀÒîÊÎWÂN )#0Ô—žY£Òg_.ÇDK×—–zG©.}gIÓ&Hµ:† ŸÈª@ÁRédd‹AþÖu¿·Ïä´#á|ßsžF_mÖtÿLy8M pEÖ4‹I¤N¬Û¬z²ZŽœ¬a’1SÆs¶BŒ1.É”Ç2ɣأµ”6”«I$„âaâ’ðJPI/«+m+m*ÆI¸™#Ó©à½Oäô™)TvE]Œ›iÉÉ!SƒöF9âbŒnÎY9#…ÜpÛˆ¨Ùv;K–hô�RFfHè‰ë?%é’Æß7taƒeêB&Hô§äÃRæ(¤|Jm¥šÌ±hOö�oð¹ä¾lãÏ#/¶t�ìJ?�|Eº-ÉŦ‡J8\HT‹Œ©·rçw [)íe-¥ §.銤ÛGÕÊŠM³…}ÎÇ&|I¶R‹XÝŽ+ï�¨í ].x%›8| :ˆ¡' F¤YB ^¢8YwšþÎrþÎrþÊN3_ÙN)7$AÒ›RDq÷ú”ð[By¶ŠŽfäp´#hÉxD¸š‰vˆ’W}ÅN›~ÖDœžd÷2JjìÇv)Ò—öZlìzHõeäÍ"Ñ^ ®B¬R¾dkFÎÌ‹y!Gò�{EèB×ð‡V³lÉx=7äÍŽB©PžK+–§SÁÖÿŸ,×ÏÖ¼|�¿Ã±Œz’Ô–¬–¤µdŸÕ�vd÷2¦æTÜÉ¿ÌÆÆŠËµFUš´¦ßÉZš´fÑÄ´×Äcnì«KîÈâWi“ªÛ“»åZ’´YÄ´ÕÐäîÉÁÞ,âa“w*l'°â%Ù¤N£nRlp•ÉÁ$ :ñQÀ‘qÂI¡ÒŠXE°�XJ8Ù‰·öùò¼ãå|þ§ñø_–f\ý�d-´‚ÐZ AhGB"„!BÔZžç¹î{žü˜Æ1ŒcƒÐz cÐzAè1ÿƒÈÏ—©?;Å‹éÍŒcÿǨõ£Ôz�QŒcÆ1Œ|½�cØö=�aB„! Qj-E¨µ¢ÔZ‹T{¯›ØöˆZ Ab"$¿ ‘›3=X}…7ùJzôe?rŸ¹OYõ‘ Ò!¹‘ÜÈîbÞżýèýèýè{ǽ܉nDõ‰=bOX“ý%OÒTÑ4EM¨©´©´©°©°©°©±“ØÉìdöHžÉÙ/è–ÙD¶²Z1èÇö,cÆ1ŒcÆ1ŒhÆÿùfz«üºˆŽˆŽÔCjþˆl�ôSÙè§²?ÑOb)ìE-ˆ¥±¶¶¶”¶”´)hÊZ2Ÿ¹Oܧ¬ŠzȆéÜÈîdw1obÞ~¿ô~¿ô~¿ô=è{‘-È–äOX“Ö$õ‰?ÒOØ©¢*hŠ›QSiSaSaSaSc*leMŒžÆOd‰ì—ôOd¿¢[eýÚÊ�´ðó}ÿýŸÿÙhttp-cache-semantics-4.1.0/index.js000066400000000000000000000563521362704537300172120ustar00rootroot00000000000000'use strict'; // rfc7231 6.1 const statusCodeCacheableByDefault = new Set([ 200, 203, 204, 206, 300, 301, 404, 405, 410, 414, 501, ]); // This implementation does not understand partial responses (206) const understoodStatuses = new Set([ 200, 203, 204, 300, 301, 302, 303, 307, 308, 404, 405, 410, 414, 501, ]); const errorStatusCodes = new Set([ 500, 502, 503, 504, ]); const hopByHopHeaders = { date: true, // included, because we add Age update Date connection: true, 'keep-alive': true, 'proxy-authenticate': true, 'proxy-authorization': true, te: true, trailer: true, 'transfer-encoding': true, upgrade: true, }; const excludedFromRevalidationUpdate = { // Since the old body is reused, it doesn't make sense to change properties of the body 'content-length': true, 'content-encoding': true, 'transfer-encoding': true, 'content-range': true, }; function toNumberOrZero(s) { const n = parseInt(s, 10); return isFinite(n) ? n : 0; } // RFC 5861 function isErrorResponse(response) { // consider undefined response as faulty if(!response) { return true } return errorStatusCodes.has(response.status); } function parseCacheControl(header) { const cc = {}; if (!header) return cc; // TODO: When there is more than one value present for a given directive (e.g., two Expires header fields, multiple Cache-Control: max-age directives), // the directive's value is considered invalid. Caches are encouraged to consider responses that have invalid freshness information to be stale const parts = header.trim().split(/\s*,\s*/); // TODO: lame parsing for (const part of parts) { const [k, v] = part.split(/\s*=\s*/, 2); cc[k] = v === undefined ? true : v.replace(/^"|"$/g, ''); // TODO: lame unquoting } return cc; } function formatCacheControl(cc) { let parts = []; for (const k in cc) { const v = cc[k]; parts.push(v === true ? k : k + '=' + v); } if (!parts.length) { return undefined; } return parts.join(', '); } module.exports = class CachePolicy { constructor( req, res, { shared, cacheHeuristic, immutableMinTimeToLive, ignoreCargoCult, _fromObject, } = {} ) { if (_fromObject) { this._fromObject(_fromObject); return; } if (!res || !res.headers) { throw Error('Response headers missing'); } this._assertRequestHasHeaders(req); this._responseTime = this.now(); this._isShared = shared !== false; this._cacheHeuristic = undefined !== cacheHeuristic ? cacheHeuristic : 0.1; // 10% matches IE this._immutableMinTtl = undefined !== immutableMinTimeToLive ? immutableMinTimeToLive : 24 * 3600 * 1000; this._status = 'status' in res ? res.status : 200; this._resHeaders = res.headers; this._rescc = parseCacheControl(res.headers['cache-control']); this._method = 'method' in req ? req.method : 'GET'; this._url = req.url; this._host = req.headers.host; this._noAuthorization = !req.headers.authorization; this._reqHeaders = res.headers.vary ? req.headers : null; // Don't keep all request headers if they won't be used this._reqcc = parseCacheControl(req.headers['cache-control']); // Assume that if someone uses legacy, non-standard uncecessary options they don't understand caching, // so there's no point stricly adhering to the blindly copy&pasted directives. if ( ignoreCargoCult && 'pre-check' in this._rescc && 'post-check' in this._rescc ) { delete this._rescc['pre-check']; delete this._rescc['post-check']; delete this._rescc['no-cache']; delete this._rescc['no-store']; delete this._rescc['must-revalidate']; this._resHeaders = Object.assign({}, this._resHeaders, { 'cache-control': formatCacheControl(this._rescc), }); delete this._resHeaders.expires; delete this._resHeaders.pragma; } // When the Cache-Control header field is not present in a request, caches MUST consider the no-cache request pragma-directive // as having the same effect as if "Cache-Control: no-cache" were present (see Section 5.2.1). if ( res.headers['cache-control'] == null && /no-cache/.test(res.headers.pragma) ) { this._rescc['no-cache'] = true; } } now() { return Date.now(); } storable() { // The "no-store" request directive indicates that a cache MUST NOT store any part of either this request or any response to it. return !!( !this._reqcc['no-store'] && // A cache MUST NOT store a response to any request, unless: // The request method is understood by the cache and defined as being cacheable, and ('GET' === this._method || 'HEAD' === this._method || ('POST' === this._method && this._hasExplicitExpiration())) && // the response status code is understood by the cache, and understoodStatuses.has(this._status) && // the "no-store" cache directive does not appear in request or response header fields, and !this._rescc['no-store'] && // the "private" response directive does not appear in the response, if the cache is shared, and (!this._isShared || !this._rescc.private) && // the Authorization header field does not appear in the request, if the cache is shared, (!this._isShared || this._noAuthorization || this._allowsStoringAuthenticated()) && // the response either: // contains an Expires header field, or (this._resHeaders.expires || // contains a max-age response directive, or // contains a s-maxage response directive and the cache is shared, or // contains a public response directive. this._rescc['max-age'] || (this._isShared && this._rescc['s-maxage']) || this._rescc.public || // has a status code that is defined as cacheable by default statusCodeCacheableByDefault.has(this._status)) ); } _hasExplicitExpiration() { // 4.2.1 Calculating Freshness Lifetime return ( (this._isShared && this._rescc['s-maxage']) || this._rescc['max-age'] || this._resHeaders.expires ); } _assertRequestHasHeaders(req) { if (!req || !req.headers) { throw Error('Request headers missing'); } } satisfiesWithoutRevalidation(req) { this._assertRequestHasHeaders(req); // When presented with a request, a cache MUST NOT reuse a stored response, unless: // the presented request does not contain the no-cache pragma (Section 5.4), nor the no-cache cache directive, // unless the stored response is successfully validated (Section 4.3), and const requestCC = parseCacheControl(req.headers['cache-control']); if (requestCC['no-cache'] || /no-cache/.test(req.headers.pragma)) { return false; } if (requestCC['max-age'] && this.age() > requestCC['max-age']) { return false; } if ( requestCC['min-fresh'] && this.timeToLive() < 1000 * requestCC['min-fresh'] ) { return false; } // the stored response is either: // fresh, or allowed to be served stale if (this.stale()) { const allowsStale = requestCC['max-stale'] && !this._rescc['must-revalidate'] && (true === requestCC['max-stale'] || requestCC['max-stale'] > this.age() - this.maxAge()); if (!allowsStale) { return false; } } return this._requestMatches(req, false); } _requestMatches(req, allowHeadMethod) { // The presented effective request URI and that of the stored response match, and return ( (!this._url || this._url === req.url) && this._host === req.headers.host && // the request method associated with the stored response allows it to be used for the presented request, and (!req.method || this._method === req.method || (allowHeadMethod && 'HEAD' === req.method)) && // selecting header fields nominated by the stored response (if any) match those presented, and this._varyMatches(req) ); } _allowsStoringAuthenticated() { // following Cache-Control response directives (Section 5.2.2) have such an effect: must-revalidate, public, and s-maxage. return ( this._rescc['must-revalidate'] || this._rescc.public || this._rescc['s-maxage'] ); } _varyMatches(req) { if (!this._resHeaders.vary) { return true; } // A Vary header field-value of "*" always fails to match if (this._resHeaders.vary === '*') { return false; } const fields = this._resHeaders.vary .trim() .toLowerCase() .split(/\s*,\s*/); for (const name of fields) { if (req.headers[name] !== this._reqHeaders[name]) return false; } return true; } _copyWithoutHopByHopHeaders(inHeaders) { const headers = {}; for (const name in inHeaders) { if (hopByHopHeaders[name]) continue; headers[name] = inHeaders[name]; } // 9.1. Connection if (inHeaders.connection) { const tokens = inHeaders.connection.trim().split(/\s*,\s*/); for (const name of tokens) { delete headers[name]; } } if (headers.warning) { const warnings = headers.warning.split(/,/).filter(warning => { return !/^\s*1[0-9][0-9]/.test(warning); }); if (!warnings.length) { delete headers.warning; } else { headers.warning = warnings.join(',').trim(); } } return headers; } responseHeaders() { const headers = this._copyWithoutHopByHopHeaders(this._resHeaders); const age = this.age(); // A cache SHOULD generate 113 warning if it heuristically chose a freshness // lifetime greater than 24 hours and the response's age is greater than 24 hours. if ( age > 3600 * 24 && !this._hasExplicitExpiration() && this.maxAge() > 3600 * 24 ) { headers.warning = (headers.warning ? `${headers.warning}, ` : '') + '113 - "rfc7234 5.5.4"'; } headers.age = `${Math.round(age)}`; headers.date = new Date(this.now()).toUTCString(); return headers; } /** * Value of the Date response header or current time if Date was invalid * @return timestamp */ date() { const serverDate = Date.parse(this._resHeaders.date); if (isFinite(serverDate)) { return serverDate; } return this._responseTime; } /** * Value of the Age header, in seconds, updated for the current time. * May be fractional. * * @return Number */ age() { let age = this._ageValue(); const residentTime = (this.now() - this._responseTime) / 1000; return age + residentTime; } _ageValue() { return toNumberOrZero(this._resHeaders.age); } /** * Value of applicable max-age (or heuristic equivalent) in seconds. This counts since response's `Date`. * * For an up-to-date value, see `timeToLive()`. * * @return Number */ maxAge() { if (!this.storable() || this._rescc['no-cache']) { return 0; } // Shared responses with cookies are cacheable according to the RFC, but IMHO it'd be unwise to do so by default // so this implementation requires explicit opt-in via public header if ( this._isShared && (this._resHeaders['set-cookie'] && !this._rescc.public && !this._rescc.immutable) ) { return 0; } if (this._resHeaders.vary === '*') { return 0; } if (this._isShared) { if (this._rescc['proxy-revalidate']) { return 0; } // if a response includes the s-maxage directive, a shared cache recipient MUST ignore the Expires field. if (this._rescc['s-maxage']) { return toNumberOrZero(this._rescc['s-maxage']); } } // If a response includes a Cache-Control field with the max-age directive, a recipient MUST ignore the Expires field. if (this._rescc['max-age']) { return toNumberOrZero(this._rescc['max-age']); } const defaultMinTtl = this._rescc.immutable ? this._immutableMinTtl : 0; const serverDate = this.date(); if (this._resHeaders.expires) { const expires = Date.parse(this._resHeaders.expires); // A cache recipient MUST interpret invalid date formats, especially the value "0", as representing a time in the past (i.e., "already expired"). if (Number.isNaN(expires) || expires < serverDate) { return 0; } return Math.max(defaultMinTtl, (expires - serverDate) / 1000); } if (this._resHeaders['last-modified']) { const lastModified = Date.parse(this._resHeaders['last-modified']); if (isFinite(lastModified) && serverDate > lastModified) { return Math.max( defaultMinTtl, ((serverDate - lastModified) / 1000) * this._cacheHeuristic ); } } return defaultMinTtl; } timeToLive() { const age = this.maxAge() - this.age(); const staleIfErrorAge = age + toNumberOrZero(this._rescc['stale-if-error']); const staleWhileRevalidateAge = age + toNumberOrZero(this._rescc['stale-while-revalidate']); return Math.max(0, age, staleIfErrorAge, staleWhileRevalidateAge) * 1000; } stale() { return this.maxAge() <= this.age(); } _useStaleIfError() { return this.maxAge() + toNumberOrZero(this._rescc['stale-if-error']) > this.age(); } useStaleWhileRevalidate() { return this.maxAge() + toNumberOrZero(this._rescc['stale-while-revalidate']) > this.age(); } static fromObject(obj) { return new this(undefined, undefined, { _fromObject: obj }); } _fromObject(obj) { if (this._responseTime) throw Error('Reinitialized'); if (!obj || obj.v !== 1) throw Error('Invalid serialization'); this._responseTime = obj.t; this._isShared = obj.sh; this._cacheHeuristic = obj.ch; this._immutableMinTtl = obj.imm !== undefined ? obj.imm : 24 * 3600 * 1000; this._status = obj.st; this._resHeaders = obj.resh; this._rescc = obj.rescc; this._method = obj.m; this._url = obj.u; this._host = obj.h; this._noAuthorization = obj.a; this._reqHeaders = obj.reqh; this._reqcc = obj.reqcc; } toObject() { return { v: 1, t: this._responseTime, sh: this._isShared, ch: this._cacheHeuristic, imm: this._immutableMinTtl, st: this._status, resh: this._resHeaders, rescc: this._rescc, m: this._method, u: this._url, h: this._host, a: this._noAuthorization, reqh: this._reqHeaders, reqcc: this._reqcc, }; } /** * Headers for sending to the origin server to revalidate stale response. * Allows server to return 304 to allow reuse of the previous response. * * Hop by hop headers are always stripped. * Revalidation headers may be added or removed, depending on request. */ revalidationHeaders(incomingReq) { this._assertRequestHasHeaders(incomingReq); const headers = this._copyWithoutHopByHopHeaders(incomingReq.headers); // This implementation does not understand range requests delete headers['if-range']; if (!this._requestMatches(incomingReq, true) || !this.storable()) { // revalidation allowed via HEAD // not for the same resource, or wasn't allowed to be cached anyway delete headers['if-none-match']; delete headers['if-modified-since']; return headers; } /* MUST send that entity-tag in any cache validation request (using If-Match or If-None-Match) if an entity-tag has been provided by the origin server. */ if (this._resHeaders.etag) { headers['if-none-match'] = headers['if-none-match'] ? `${headers['if-none-match']}, ${this._resHeaders.etag}` : this._resHeaders.etag; } // Clients MAY issue simple (non-subrange) GET requests with either weak validators or strong validators. Clients MUST NOT use weak validators in other forms of request. const forbidsWeakValidators = headers['accept-ranges'] || headers['if-match'] || headers['if-unmodified-since'] || (this._method && this._method != 'GET'); /* SHOULD send the Last-Modified value in non-subrange cache validation requests (using If-Modified-Since) if only a Last-Modified value has been provided by the origin server. Note: This implementation does not understand partial responses (206) */ if (forbidsWeakValidators) { delete headers['if-modified-since']; if (headers['if-none-match']) { const etags = headers['if-none-match'] .split(/,/) .filter(etag => { return !/^\s*W\//.test(etag); }); if (!etags.length) { delete headers['if-none-match']; } else { headers['if-none-match'] = etags.join(',').trim(); } } } else if ( this._resHeaders['last-modified'] && !headers['if-modified-since'] ) { headers['if-modified-since'] = this._resHeaders['last-modified']; } return headers; } /** * Creates new CachePolicy with information combined from the previews response, * and the new revalidation response. * * Returns {policy, modified} where modified is a boolean indicating * whether the response body has been modified, and old cached body can't be used. * * @return {Object} {policy: CachePolicy, modified: Boolean} */ revalidatedPolicy(request, response) { this._assertRequestHasHeaders(request); if(this._useStaleIfError() && isErrorResponse(response)) { // I consider the revalidation request unsuccessful return { modified: false, matches: false, policy: this, }; } if (!response || !response.headers) { throw Error('Response headers missing'); } // These aren't going to be supported exactly, since one CachePolicy object // doesn't know about all the other cached objects. let matches = false; if (response.status !== undefined && response.status != 304) { matches = false; } else if ( response.headers.etag && !/^\s*W\//.test(response.headers.etag) ) { // "All of the stored responses with the same strong validator are selected. // If none of the stored responses contain the same strong validator, // then the cache MUST NOT use the new response to update any stored responses." matches = this._resHeaders.etag && this._resHeaders.etag.replace(/^\s*W\//, '') === response.headers.etag; } else if (this._resHeaders.etag && response.headers.etag) { // "If the new response contains a weak validator and that validator corresponds // to one of the cache's stored responses, // then the most recent of those matching stored responses is selected for update." matches = this._resHeaders.etag.replace(/^\s*W\//, '') === response.headers.etag.replace(/^\s*W\//, ''); } else if (this._resHeaders['last-modified']) { matches = this._resHeaders['last-modified'] === response.headers['last-modified']; } else { // If the new response does not include any form of validator (such as in the case where // a client generates an If-Modified-Since request from a source other than the Last-Modified // response header field), and there is only one stored response, and that stored response also // lacks a validator, then that stored response is selected for update. if ( !this._resHeaders.etag && !this._resHeaders['last-modified'] && !response.headers.etag && !response.headers['last-modified'] ) { matches = true; } } if (!matches) { return { policy: new this.constructor(request, response), // Client receiving 304 without body, even if it's invalid/mismatched has no option // but to reuse a cached body. We don't have a good way to tell clients to do // error recovery in such case. modified: response.status != 304, matches: false, }; } // use other header fields provided in the 304 (Not Modified) response to replace all instances // of the corresponding header fields in the stored response. const headers = {}; for (const k in this._resHeaders) { headers[k] = k in response.headers && !excludedFromRevalidationUpdate[k] ? response.headers[k] : this._resHeaders[k]; } const newResponse = Object.assign({}, response, { status: this._status, method: this._method, headers, }); return { policy: new this.constructor(request, newResponse, { shared: this._isShared, cacheHeuristic: this._cacheHeuristic, immutableMinTimeToLive: this._immutableMinTtl, }), modified: false, matches: true, }; } }; http-cache-semantics-4.1.0/package.json000066400000000000000000000013351362704537300200220ustar00rootroot00000000000000{ "name": "http-cache-semantics", "version": "4.1.0", "description": "Parses Cache-Control and other headers. Helps building correct HTTP caches and proxies", "repository": "https://github.com/kornelski/http-cache-semantics.git", "main": "index.js", "scripts": { "test": "mocha" }, "files": [ "index.js" ], "author": "Kornel LesiÅ„ski (https://kornel.ski/)", "license": "BSD-2-Clause", "devDependencies": { "eslint": "^5.13.0", "eslint-plugin-prettier": "^3.0.1", "husky": "^0.14.3", "lint-staged": "^8.1.3", "mocha": "^5.1.0", "prettier": "^1.14.3", "prettier-eslint-cli": "^4.7.1" } } http-cache-semantics-4.1.0/test/000077500000000000000000000000001362704537300165115ustar00rootroot00000000000000http-cache-semantics-4.1.0/test/misctest.js000066400000000000000000000061111362704537300207010ustar00rootroot00000000000000'use strict'; const assert = require('assert'); const CachePolicy = require('..'); describe('Other', function() { it('Thaw wrong object', function() { assert.throws(() => { CachePolicy.fromObject({}); }); }); it('Missing headers', function() { assert.throws(() => { new CachePolicy({}); }); assert.throws(() => { new CachePolicy({ headers: {} }, {}); }); const cache = new CachePolicy({ headers: {} }, { headers: {} }); assert.throws(() => { cache.satisfiesWithoutRevalidation({}); }); assert.throws(() => { cache.revalidatedPolicy({}); }); assert.throws(() => { cache.revalidatedPolicy({ headers: {} }, {}); }); }); it('GitHub response with small clock skew', function() { const res = { headers: { server: 'GitHub.com', date: new Date(Date.now() - 77 * 1000).toUTCString(), 'content-type': 'application/json; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'close', status: '200 OK', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4836', 'x-ratelimit-reset': '1524313615', 'cache-control': 'private, max-age=60, s-maxage=60', vary: 'Accept, Authorization, Cookie, X-GitHub-OTP', etag: 'W/"4876f954d40e3efc6d32aab08b9bdc47"', 'x-oauth-scopes': 'public_repo, read:user, repo:invite, repo:status, repo_deployment', 'x-accepted-oauth-scopes': '', 'x-github-media-type': 'github.v3', link: '; rel="next", ; rel="last"', 'access-control-expose-headers': 'ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval', 'access-control-allow-origin': '*', 'strict-transport-security': 'max-age=31536000; includeSubdomains; preload', 'x-frame-options': 'deny', 'x-content-type-options': 'nosniff', 'x-xss-protection': '1; mode=block', 'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin', 'content-security-policy': "default-src 'none'", 'x-runtime-rack': '0.051653', 'content-encoding': 'gzip', 'x-github-request-id': 'C6EE:12E7:3E6CA0D:87F0004:5ADB2B35', }, }; const req = { headers: {}, }; const c = new CachePolicy(req, res, { shared: false, trustServerDate: false, }); assert(c.satisfiesWithoutRevalidation(req)); }); }); http-cache-semantics-4.1.0/test/okhttptest.js000066400000000000000000000325021362704537300212620ustar00rootroot00000000000000'use strict'; /* * Copyright (C) 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ const assert = require('assert'); const CachePolicy = require('..'); describe('okhttp tests', function() { it('response caching by response code', function() { // Test each documented HTTP/1.1 code, plus the first unused value in each range. // http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html assertCached(false, 100); assertCached(false, 101); assertCached(false, 102); assertCached(true, 200); assertCached(false, 201); assertCached(false, 202); assertCached(true, 203); assertCached(true, 204); assertCached(false, 205); assertCached(false, 206); //Electing to not cache partial responses assertCached(false, 207); assertCached(true, 300); assertCached(true, 301); assertCached(true, 302); // assertCached(false, 303); assertCached(false, 304); assertCached(false, 305); assertCached(false, 306); assertCached(true, 307); assertCached(true, 308); assertCached(false, 400); assertCached(false, 401); assertCached(false, 402); assertCached(false, 403); assertCached(true, 404); assertCached(true, 405); assertCached(false, 406); assertCached(false, 408); assertCached(false, 409); // the HTTP spec permits caching 410s, but the RI doesn't. assertCached(true, 410); assertCached(false, 411); assertCached(false, 412); assertCached(false, 413); assertCached(true, 414); assertCached(false, 415); assertCached(false, 416); assertCached(false, 417); assertCached(false, 418); assertCached(false, 429); assertCached(false, 500); assertCached(true, 501); assertCached(false, 502); assertCached(false, 503); assertCached(false, 504); assertCached(false, 505); assertCached(false, 506); }); function assertCached(shouldPut, responseCode) { let expectedResponseCode = responseCode; const mockResponse = { headers: { 'last-modified': formatDate(-1, 3600), expires: formatDate(1, 3600), 'www-authenticate': 'challenge', }, status: responseCode, body: 'ABCDE', }; if (responseCode == 407) { mockResponse.headers['proxy-authenticate'] = 'Basic realm="protected area"'; } else if (responseCode == 401) { mockResponse.headers['www-authenticate'] = 'Basic realm="protected area"'; } else if (responseCode == 204 || responseCode == 205) { mockResponse.body = ''; // We forbid bodies for 204 and 205. } const request = { url: '/', headers: {} }; const cache = new CachePolicy(request, mockResponse, { shared: false }); assert.equal(shouldPut, cache.storable()); } it('default expiration date fully cached for less than24 hours', function() { // last modified: 105 seconds ago // served: 5 seconds ago // default lifetime: (105 - 5) / 10 = 10 seconds // expires: 10 seconds from served date = 5 seconds from now const cache = new CachePolicy( { headers: {} }, { headers: { 'last-modified': formatDate(-105, 1), date: formatDate(-5, 1), }, body: 'A', }, { shared: false } ); assert(cache.timeToLive() > 4000); }); it('default expiration date fully cached for more than24 hours', function() { // last modified: 105 days ago // served: 5 days ago // default lifetime: (105 - 5) / 10 = 10 days // expires: 10 days from served date = 5 days from now const cache = new CachePolicy( { headers: {} }, { headers: { 'last-modified': formatDate(-105, 3600 * 24), date: formatDate(-5, 3600 * 24), }, body: 'A', }, { shared: false } ); assert(cache.maxAge() >= 10 * 3600 * 24); assert(cache.timeToLive() + 1000 >= 5 * 3600 * 24); }); it('max age in the past with date header but no last modified header', function() { // Chrome interprets max-age relative to the local clock. Both our cache // and Firefox both use the earlier of the local and server's clock. const cache = new CachePolicy( { headers: {} }, { headers: { date: formatDate(-120, 1), 'cache-control': 'max-age=60', }, }, { shared: false } ); assert(!cache.stale()); }); it('maxAge timetolive', function() { const cache = new CachePolicy( { headers: {} }, { headers: { date: formatDate(120, 1), 'cache-control': 'max-age=60', }, }, { shared: false } ); const now = Date.now(); cache.now = () => now assert(!cache.stale()); assert.equal(cache.timeToLive(), 60000); }); it('stale-if-error timetolive', function() { const cache = new CachePolicy( { headers: {} }, { headers: { date: formatDate(120, 1), 'cache-control': 'max-age=60, stale-if-error=200', }, }, { shared: false } ); assert(!cache.stale()); assert.equal(cache.timeToLive(), 260000); }); it('stale-while-revalidate timetolive', function() { const cache = new CachePolicy( { headers: {} }, { headers: { date: formatDate(120, 1), 'cache-control': 'max-age=60, stale-while-revalidate=200', }, }, { shared: false } ); assert(!cache.stale()); assert.equal(cache.timeToLive(), 260000); }); it('max age preferred over lower shared max age', function() { const cache = new CachePolicy( { headers: {} }, { headers: { date: formatDate(-2, 60), 'cache-control': 's-maxage=60, max-age=180', }, }, { shared: false } ); assert.equal(cache.maxAge(), 180); }); it('max age preferred over higher max age', function() { const cache = new CachePolicy( { headers: {} }, { headers: { age: 360, 'cache-control': 's-maxage=60, max-age=180', }, }, { shared: false } ); assert(cache.stale()); }); it('request method options is not cached', function() { testRequestMethodNotCached('OPTIONS'); }); it('request method put is not cached', function() { testRequestMethodNotCached('PUT'); }); it('request method delete is not cached', function() { testRequestMethodNotCached('DELETE'); }); it('request method trace is not cached', function() { testRequestMethodNotCached('TRACE'); }); function testRequestMethodNotCached(method) { // 1. seed the cache (potentially) // 2. expect a cache hit or miss const cache = new CachePolicy( { method, headers: {} }, { headers: { expires: formatDate(1, 3600), }, }, { shared: false } ); assert(cache.stale()); } it('etag and expiration date in the future', function() { const cache = new CachePolicy( { headers: {} }, { headers: { etag: 'v1', 'last-modified': formatDate(-2, 3600), expires: formatDate(1, 3600), }, }, { shared: false } ); assert(cache.timeToLive() > 0); }); it('client side no store', function() { const cache = new CachePolicy( { headers: { 'cache-control': 'no-store', }, }, { headers: { 'cache-control': 'max-age=60', }, }, { shared: false } ); assert(!cache.storable()); }); it('request max age', function() { const cache = new CachePolicy( { headers: {} }, { headers: { 'last-modified': formatDate(-2, 3600), age: 60, expires: formatDate(1, 3600), }, }, { shared: false } ); assert(!cache.stale()); assert(cache.age() >= 60); assert( cache.satisfiesWithoutRevalidation({ headers: { 'cache-control': 'max-age=90', }, }) ); assert( !cache.satisfiesWithoutRevalidation({ headers: { 'cache-control': 'max-age=30', }, }) ); }); it('request min fresh', function() { const cache = new CachePolicy( { headers: {} }, { headers: { 'cache-control': 'max-age=60', }, }, { shared: false } ); assert(!cache.stale()); assert( !cache.satisfiesWithoutRevalidation({ headers: { 'cache-control': 'min-fresh=120', }, }) ); assert( cache.satisfiesWithoutRevalidation({ headers: { 'cache-control': 'min-fresh=10', }, }) ); }); it('request max stale', function() { const cache = new CachePolicy( { headers: {} }, { headers: { 'cache-control': 'max-age=120', age: 4*60, }, }, { shared: false } ); assert(cache.stale()); assert( cache.satisfiesWithoutRevalidation({ headers: { 'cache-control': 'max-stale=180', }, }) ); assert( cache.satisfiesWithoutRevalidation({ headers: { 'cache-control': 'max-stale', }, }) ); assert( !cache.satisfiesWithoutRevalidation({ headers: { 'cache-control': 'max-stale=10', }, }) ); }); it('request max stale not honored with must revalidate', function() { const cache = new CachePolicy( { headers: {} }, { headers: { 'cache-control': 'max-age=120, must-revalidate', age: 360, }, }, { shared: false } ); assert(cache.stale()); assert( !cache.satisfiesWithoutRevalidation({ headers: { 'cache-control': 'max-stale=180', }, }) ); assert( !cache.satisfiesWithoutRevalidation({ headers: { 'cache-control': 'max-stale', }, }) ); }); it('get headers deletes cached100 level warnings', function() { const cache = new CachePolicy( { headers: {} }, { headers: { warning: '199 test danger, 200 ok ok', }, } ); assert.equal('200 ok ok', cache.responseHeaders().warning); }); it('do not cache partial response', function() { const cache = new CachePolicy( { headers: {} }, { status: 206, headers: { 'content-range': 'bytes 100-100/200', 'cache-control': 'max-age=60', }, } ); assert(!cache.storable()); }); function formatDate(delta, unit) { return new Date(Date.now() + delta * unit * 1000).toUTCString(); } }); http-cache-semantics-4.1.0/test/requesttest.js000066400000000000000000000053261362704537300214450ustar00rootroot00000000000000'use strict'; const assert = require('assert'); const CachePolicy = require('..'); const publicCacheableResponse = { headers: { 'cache-control': 'public, max-age=222' }, }; const cacheableResponse = { headers: { 'cache-control': 'max-age=111' } }; describe('Request properties', function() { it('No store kills cache', function() { const cache = new CachePolicy( { method: 'GET', headers: { 'cache-control': 'no-store' } }, publicCacheableResponse ); assert(cache.stale()); assert(!cache.storable()); }); it('POST not cacheable by default', function() { const cache = new CachePolicy( { method: 'POST', headers: {} }, { headers: { 'cache-control': 'public' } } ); assert(cache.stale()); assert(!cache.storable()); }); it('POST cacheable explicitly', function() { const cache = new CachePolicy( { method: 'POST', headers: {} }, publicCacheableResponse ); assert(!cache.stale()); assert(cache.storable()); }); it('Public cacheable auth is OK', function() { const cache = new CachePolicy( { method: 'GET', headers: { authorization: 'test' } }, publicCacheableResponse ); assert(!cache.stale()); assert(cache.storable()); }); it('Proxy cacheable auth is OK', function() { const cache = new CachePolicy( { method: 'GET', headers: { authorization: 'test' } }, { headers: { 'cache-control': 'max-age=0,s-maxage=12' } } ); assert(!cache.stale()); assert(cache.storable()); const cache2 = CachePolicy.fromObject( JSON.parse(JSON.stringify(cache.toObject())) ); assert(cache2 instanceof CachePolicy); assert(!cache2.stale()); assert(cache2.storable()); }); it('Private auth is OK', function() { const cache = new CachePolicy( { method: 'GET', headers: { authorization: 'test' } }, cacheableResponse, { shared: false } ); assert(!cache.stale()); assert(cache.storable()); }); it('Revalidated auth is OK', function() { const cache = new CachePolicy( { headers: { authorization: 'test' } }, { headers: { 'cache-control': 'max-age=88,must-revalidate' } } ); assert(cache.storable()); }); it('Auth prevents caching by default', function() { const cache = new CachePolicy( { method: 'GET', headers: { authorization: 'test' } }, cacheableResponse ); assert(cache.stale()); assert(!cache.storable()); }); }); http-cache-semantics-4.1.0/test/responsetest.js000066400000000000000000000361531362704537300216150ustar00rootroot00000000000000'use strict'; const assert = require('assert'); const CachePolicy = require('..'); const req = { method: 'GET', headers: {} }; describe('Response headers', function() { it('simple miss', function() { const cache = new CachePolicy(req, { headers: {} }); assert(cache.stale()); }); it('simple hit', function() { const cache = new CachePolicy(req, { headers: { 'cache-control': 'public, max-age=999999' }, }); assert(!cache.stale()); assert.equal(cache.maxAge(), 999999); }); it('weird syntax', function() { const cache = new CachePolicy(req, { headers: { 'cache-control': ',,,,max-age = 456 ,' }, }); assert(!cache.stale()); assert.equal(cache.maxAge(), 456); const cache2 = CachePolicy.fromObject( JSON.parse(JSON.stringify(cache.toObject())) ); assert(cache2 instanceof CachePolicy); assert(!cache2.stale()); assert.equal(cache2.maxAge(), 456); }); it('quoted syntax', function() { const cache = new CachePolicy(req, { headers: { 'cache-control': ' max-age = "678" ' }, }); assert(!cache.stale()); assert.equal(cache.maxAge(), 678); }); it('IIS', function() { const cache = new CachePolicy( req, { headers: { 'cache-control': 'private, public, max-age=259200' } }, { shared: false } ); assert(!cache.stale()); assert.equal(cache.maxAge(), 259200); }); it('pre-check tolerated', function() { const cc = 'pre-check=0, post-check=0, no-store, no-cache, max-age=100'; const cache = new CachePolicy(req, { headers: { 'cache-control': cc }, }); assert(cache.stale()); assert(!cache.storable()); assert.equal(cache.maxAge(), 0); assert.equal(cache.responseHeaders()['cache-control'], cc); }); it('pre-check poison', function() { const origCC = 'pre-check=0, post-check=0, no-cache, no-store, max-age=100, custom, foo=bar'; const res = { headers: { 'cache-control': origCC, pragma: 'no-cache' }, }; const cache = new CachePolicy(req, res, { ignoreCargoCult: true }); assert(!cache.stale()); assert(cache.storable()); assert.equal(cache.maxAge(), 100); const cc = cache.responseHeaders()['cache-control']; assert(!/pre-check/.test(cc), cc); assert(!/post-check/.test(cc), cc); assert(!/no-store/.test(cc), cc); assert(/max-age=100/.test(cc)); assert(/custom(,|$)/.test(cc)); assert(/foo=bar/.test(cc)); assert.equal(res.headers['cache-control'], origCC); assert(res.headers['pragma']); assert(!cache.responseHeaders()['pragma']); }); it('pre-check poison undefined header', function() { const origCC = 'pre-check=0, post-check=0, no-cache, no-store'; const res = { headers: { 'cache-control': origCC, expires: 'yesterday!' }, }; const cache = new CachePolicy(req, res, { ignoreCargoCult: true }); assert(cache.stale()); assert(cache.storable()); assert.equal(cache.maxAge(), 0); const cc = cache.responseHeaders()['cache-control']; assert(!cc); assert(res.headers['expires']); assert(!cache.responseHeaders()['expires']); }); it('cache with expires', function() { const now = Date.now(); const cache = new CachePolicy(req, { headers: { date: new Date(now).toGMTString(), expires: new Date(now + 2000).toGMTString(), }, }); assert(!cache.stale()); assert.equal(2, cache.maxAge()); }); it('cache with expires relative to date', function() { const now = Date.now(); const cache = new CachePolicy(req, { headers: { date: new Date(now - 3000).toGMTString(), expires: new Date(now).toGMTString(), }, }); assert.equal(3, cache.maxAge()); }); it('cache with expires always relative to date', function() { const now = Date.now(); const cache = new CachePolicy( req, { headers: { date: new Date(now - 3000).toGMTString(), expires: new Date(now).toGMTString(), }, }, { trustServerDate: false } ); assert.equal(3, cache.maxAge()); }); it('cache expires no date', function() { const cache = new CachePolicy(req, { headers: { 'cache-control': 'public', expires: new Date(Date.now() + 3600 * 1000).toGMTString(), }, }); assert(!cache.stale()); assert(cache.maxAge() > 3595); assert(cache.maxAge() < 3605); }); it('Ages', function() { let now = 1000; class TimeTravellingPolicy extends CachePolicy { now() { return now; } } const cache = new TimeTravellingPolicy(req, { headers: { 'cache-control': 'max-age=100', age: '50', }, }); assert(cache.storable()); assert.equal(50 * 1000, cache.timeToLive()); assert(!cache.stale()); now += 48 * 1000; assert.equal(2 * 1000, cache.timeToLive()); assert(!cache.stale()); now += 5 * 1000; assert(cache.stale()); assert.equal(0, cache.timeToLive()); }); it('Age can make stale', function() { const cache = new CachePolicy(req, { headers: { 'cache-control': 'max-age=100', age: '101', }, }); assert(cache.stale()); assert(cache.storable()); }); it('Age not always stale', function() { const cache = new CachePolicy(req, { headers: { 'cache-control': 'max-age=20', age: '15', }, }); assert(!cache.stale()); assert(cache.storable()); }); it('Bogus age ignored', function() { const cache = new CachePolicy(req, { headers: { 'cache-control': 'max-age=20', age: 'golden', }, }); assert(!cache.stale()); assert(cache.storable()); }); it('cache old files', function() { const cache = new CachePolicy(req, { headers: { date: new Date().toGMTString(), 'last-modified': 'Mon, 07 Mar 2016 11:52:56 GMT', }, }); assert(!cache.stale()); assert(cache.maxAge() > 100); }); it('immutable simple hit', function() { const cache = new CachePolicy(req, { headers: { 'cache-control': 'immutable, max-age=999999' }, }); assert(!cache.stale()); assert.equal(cache.maxAge(), 999999); }); it('immutable can expire', function() { const cache = new CachePolicy(req, { headers: { 'cache-control': 'immutable, max-age=0' }, }); assert(cache.stale()); assert.equal(cache.maxAge(), 0); }); it('cache immutable files', function() { const cache = new CachePolicy(req, { headers: { date: new Date().toGMTString(), 'cache-control': 'immutable', 'last-modified': new Date().toGMTString(), }, }); assert(!cache.stale()); assert(cache.maxAge() > 100); }); it('immutable can be off', function() { const cache = new CachePolicy( req, { headers: { date: new Date().toGMTString(), 'cache-control': 'immutable', 'last-modified': new Date().toGMTString(), }, }, { immutableMinTimeToLive: 0 } ); assert(cache.stale()); assert.equal(cache.maxAge(), 0); }); it('pragma: no-cache', function() { const cache = new CachePolicy(req, { headers: { pragma: 'no-cache', 'last-modified': 'Mon, 07 Mar 2016 11:52:56 GMT', }, }); assert(cache.stale()); }); it('blank cache-control and pragma: no-cache', function() { const cache = new CachePolicy(req, { headers: { 'cache-control': '', pragma: 'no-cache', 'last-modified': new Date(Date.now() - 10000).toGMTString(), }, }); assert(cache.maxAge() > 0); assert(!cache.stale()); }); it('no-store', function() { const cache = new CachePolicy(req, { headers: { 'cache-control': 'no-store, public, max-age=1', }, }); assert(cache.stale()); assert.equal(0, cache.maxAge()); }); it('observe private cache', function() { const privateHeader = { 'cache-control': 'private, max-age=1234', }; const proxyCache = new CachePolicy(req, { headers: privateHeader }); assert(proxyCache.stale()); assert.equal(0, proxyCache.maxAge()); const uaCache = new CachePolicy( req, { headers: privateHeader }, { shared: false } ); assert(!uaCache.stale()); assert.equal(1234, uaCache.maxAge()); }); it("don't share cookies", function() { const cookieHeader = { 'set-cookie': 'foo=bar', 'cache-control': 'max-age=99', }; const proxyCache = new CachePolicy( req, { headers: cookieHeader }, { shared: true } ); assert(proxyCache.stale()); assert.equal(0, proxyCache.maxAge()); const uaCache = new CachePolicy( req, { headers: cookieHeader }, { shared: false } ); assert(!uaCache.stale()); assert.equal(99, uaCache.maxAge()); }); it('do share cookies if immutable', function() { const cookieHeader = { 'set-cookie': 'foo=bar', 'cache-control': 'immutable, max-age=99', }; const proxyCache = new CachePolicy( req, { headers: cookieHeader }, { shared: true } ); assert(!proxyCache.stale()); assert.equal(99, proxyCache.maxAge()); }); it('cache explicitly public cookie', function() { const cookieHeader = { 'set-cookie': 'foo=bar', 'cache-control': 'max-age=5, public', }; const proxyCache = new CachePolicy( req, { headers: cookieHeader }, { shared: true } ); assert(!proxyCache.stale()); assert.equal(5, proxyCache.maxAge()); }); it('miss max-age=0', function() { const cache = new CachePolicy(req, { headers: { 'cache-control': 'public, max-age=0', }, }); assert(cache.stale()); assert.equal(0, cache.maxAge()); }); it('uncacheable 503', function() { const cache = new CachePolicy(req, { status: 503, headers: { 'cache-control': 'public, max-age=1000', }, }); assert(cache.stale()); assert.equal(0, cache.maxAge()); }); it('cacheable 301', function() { const cache = new CachePolicy(req, { status: 301, headers: { 'last-modified': 'Mon, 07 Mar 2016 11:52:56 GMT', }, }); assert(!cache.stale()); }); it('uncacheable 303', function() { const cache = new CachePolicy(req, { status: 303, headers: { 'last-modified': 'Mon, 07 Mar 2016 11:52:56 GMT', }, }); assert(cache.stale()); assert.equal(0, cache.maxAge()); }); it('cacheable 303', function() { const cache = new CachePolicy(req, { status: 303, headers: { 'cache-control': 'max-age=1000', }, }); assert(!cache.stale()); }); it('uncacheable 412', function() { const cache = new CachePolicy(req, { status: 412, headers: { 'cache-control': 'public, max-age=1000', }, }); assert(cache.stale()); assert.equal(0, cache.maxAge()); }); it('expired expires cached with max-age', function() { const cache = new CachePolicy(req, { headers: { 'cache-control': 'public, max-age=9999', expires: 'Sat, 07 May 2016 15:35:18 GMT', }, }); assert(!cache.stale()); assert.equal(9999, cache.maxAge()); }); it('expired expires cached with s-maxage', function() { const sMaxAgeHeaders = { 'cache-control': 'public, s-maxage=9999', expires: 'Sat, 07 May 2016 15:35:18 GMT', }; const proxyCache = new CachePolicy(req, { headers: sMaxAgeHeaders }); assert(!proxyCache.stale()); assert.equal(9999, proxyCache.maxAge()); const uaCache = new CachePolicy( req, { headers: sMaxAgeHeaders }, { shared: false } ); assert(uaCache.stale()); assert.equal(0, uaCache.maxAge()); }); it('max-age wins over future expires', function() { const cache = new CachePolicy(req, { headers: { 'cache-control': 'public, max-age=333', expires: new Date(Date.now() + 3600 * 1000).toGMTString(), }, }); assert(!cache.stale()); assert.equal(333, cache.maxAge()); }); it('remove hop headers', function() { let now = 10000; class TimeTravellingPolicy extends CachePolicy { now() { return now; } } const res = { headers: { te: 'deflate', date: 'now', custom: 'header', oompa: 'lumpa', connection: 'close, oompa, header', age: '10', 'cache-control': 'public, max-age=333', }, }; const cache = new TimeTravellingPolicy(req, res); now += 1005; const h = cache.responseHeaders(); assert(!h.connection); assert(!h.te); assert(!h.oompa); assert.equal(h['cache-control'], 'public, max-age=333'); assert.notEqual(h.date, 'now', 'updated age requires updated date'); assert.equal(h.custom, 'header'); assert.equal(h.age, '11'); assert.equal(res.headers.age, '10'); const cache2 = TimeTravellingPolicy.fromObject( JSON.parse(JSON.stringify(cache.toObject())) ); assert(cache2 instanceof TimeTravellingPolicy); const h2 = cache2.responseHeaders(); assert.deepEqual(h, h2); }); }); http-cache-semantics-4.1.0/test/revalidatetest.js000066400000000000000000000204371362704537300220750ustar00rootroot00000000000000'use strict'; const assert = require('assert'); const CachePolicy = require('..'); const simpleRequest = { method: 'GET', headers: { host: 'www.w3c.org', connection: 'close', 'x-custom': 'yes', }, url: '/Protocols/rfc2616/rfc2616-sec14.html', }; function simpleRequestBut(overrides) { return Object.assign({}, simpleRequest, overrides); } const cacheableResponse = { headers: { 'cache-control': 'max-age=111' } }; const etaggedResponse = { headers: Object.assign({ etag: '"123456789"' }, cacheableResponse.headers), }; const lastModifiedResponse = { headers: Object.assign( { 'last-modified': 'Tue, 15 Nov 1994 12:45:26 GMT' }, cacheableResponse.headers ), }; const multiValidatorResponse = { headers: Object.assign( {}, etaggedResponse.headers, lastModifiedResponse.headers ), }; const alwaysVariableResponse = { headers: Object.assign({ vary: '*' }, cacheableResponse.headers), }; function assertHeadersPassed(headers) { assert.strictEqual(headers.connection, undefined); assert.strictEqual(headers['x-custom'], 'yes'); } function assertNoValidators(headers) { assert.strictEqual(headers['if-none-match'], undefined); assert.strictEqual(headers['if-modified-since'], undefined); } describe('Can be revalidated?', function() { it('ok if method changes to HEAD', function() { const cache = new CachePolicy(simpleRequest, etaggedResponse); const headers = cache.revalidationHeaders( simpleRequestBut({ method: 'HEAD' }) ); assertHeadersPassed(headers); assert.equal(headers['if-none-match'], '"123456789"'); }); it('not if method mismatch (other than HEAD)', function() { const cache = new CachePolicy(simpleRequest, etaggedResponse); const incomingRequest = simpleRequestBut({ method: 'POST' }); const headers = cache.revalidationHeaders(incomingRequest); assertHeadersPassed(headers); assertNoValidators(headers); }); it('not if url mismatch', function() { const cache = new CachePolicy(simpleRequest, etaggedResponse); const incomingRequest = simpleRequestBut({ url: '/yomomma' }); const headers = cache.revalidationHeaders(incomingRequest); assertHeadersPassed(headers); assertNoValidators(headers); }); it('not if host mismatch', function() { const cache = new CachePolicy(simpleRequest, etaggedResponse); const incomingRequest = simpleRequestBut({ headers: { host: 'www.w4c.org' }, }); const headers = cache.revalidationHeaders(incomingRequest); assertNoValidators(headers); assert.strictEqual(headers['x-custom'], undefined); }); it('not if vary fields prevent', function() { const cache = new CachePolicy(simpleRequest, alwaysVariableResponse); const headers = cache.revalidationHeaders(simpleRequest); assertHeadersPassed(headers); assertNoValidators(headers); }); it('when entity tag validator is present', function() { const cache = new CachePolicy(simpleRequest, etaggedResponse); const headers = cache.revalidationHeaders(simpleRequest); assertHeadersPassed(headers); assert.equal(headers['if-none-match'], '"123456789"'); }); it('skips weak validators on post', function() { const postReq = simpleRequestBut({ method: 'POST', headers: { 'if-none-match': 'W/"weak", "strong", W/"weak2"' }, }); const cache = new CachePolicy(postReq, multiValidatorResponse); const headers = cache.revalidationHeaders(postReq); assert.equal(headers['if-none-match'], '"strong", "123456789"'); assert.strictEqual(undefined, headers['if-modified-since']); }); it('skips weak validators on post 2', function() { const postReq = simpleRequestBut({ method: 'POST', headers: { 'if-none-match': 'W/"weak"' }, }); const cache = new CachePolicy(postReq, lastModifiedResponse); const headers = cache.revalidationHeaders(postReq); assert.strictEqual(undefined, headers['if-none-match']); assert.strictEqual(undefined, headers['if-modified-since']); }); it('merges validators', function() { const postReq = simpleRequestBut({ headers: { 'if-none-match': 'W/"weak", "strong", W/"weak2"' }, }); const cache = new CachePolicy(postReq, multiValidatorResponse); const headers = cache.revalidationHeaders(postReq); assert.equal( headers['if-none-match'], 'W/"weak", "strong", W/"weak2", "123456789"' ); assert.equal( 'Tue, 15 Nov 1994 12:45:26 GMT', headers['if-modified-since'] ); }); it('when last-modified validator is present', function() { const cache = new CachePolicy(simpleRequest, lastModifiedResponse); const headers = cache.revalidationHeaders(simpleRequest); assertHeadersPassed(headers); assert.equal( headers['if-modified-since'], 'Tue, 15 Nov 1994 12:45:26 GMT' ); assert(!/113/.test(headers.warning)); }); it('not without validators', function() { const cache = new CachePolicy(simpleRequest, cacheableResponse); const headers = cache.revalidationHeaders(simpleRequest); assertHeadersPassed(headers); assertNoValidators(headers); assert(!/113/.test(headers.warning)); }); it('113 added', function() { const veryOldResponse = { headers: { age: 3600 * 72, 'last-modified': 'Tue, 15 Nov 1994 12:45:26 GMT', }, }; const cache = new CachePolicy(simpleRequest, veryOldResponse); const headers = cache.responseHeaders(simpleRequest); assert(/113/.test(headers.warning)); }); }); describe('Validation request', function() { it('removes warnings', function() { const cache = new CachePolicy( { headers: {} }, { headers: { warning: '199 test danger', }, } ); assert.strictEqual(undefined, cache.responseHeaders().warning); }); it('must contain any etag', function() { const cache = new CachePolicy(simpleRequest, multiValidatorResponse); const expected = multiValidatorResponse.headers.etag; const actual = cache.revalidationHeaders(simpleRequest)[ 'if-none-match' ]; assert.equal(actual, expected); }); it('merges etags', function() { const cache = new CachePolicy(simpleRequest, etaggedResponse); const expected = `"foo", "bar", ${etaggedResponse.headers.etag}`; const headers = cache.revalidationHeaders( simpleRequestBut({ headers: { host: 'www.w3c.org', 'if-none-match': '"foo", "bar"', }, }) ); assert.equal(headers['if-none-match'], expected); }); it('should send the Last-Modified value', function() { const cache = new CachePolicy(simpleRequest, multiValidatorResponse); const expected = multiValidatorResponse.headers['last-modified']; const actual = cache.revalidationHeaders(simpleRequest)[ 'if-modified-since' ]; assert.equal(actual, expected); }); it('should not send the Last-Modified value for POST', function() { const postReq = { method: 'POST', headers: { 'if-modified-since': 'yesterday' }, }; const cache = new CachePolicy(postReq, lastModifiedResponse); const actual = cache.revalidationHeaders(postReq)['if-modified-since']; assert.equal(actual, undefined); }); it('should not send the Last-Modified value for range requests', function() { const rangeReq = { method: 'GET', headers: { 'accept-ranges': '1-3', 'if-modified-since': 'yesterday', }, }; const cache = new CachePolicy(rangeReq, lastModifiedResponse); const actual = cache.revalidationHeaders(rangeReq)['if-modified-since']; assert.equal(actual, undefined); }); }); http-cache-semantics-4.1.0/test/satisfytest.js000066400000000000000000000102711362704537300214320ustar00rootroot00000000000000'use strict'; const assert = require('assert'); const CachePolicy = require('..'); describe('Satisfies', function() { it('when URLs match', function() { const policy = new CachePolicy( { url: '/', headers: {} }, { status: 200, headers: { 'cache-control': 'max-age=2' } } ); assert(policy.satisfiesWithoutRevalidation({ url: '/', headers: {} })); }); it('when expires is present', function() { const policy = new CachePolicy( { headers: {} }, { status: 302, headers: { expires: new Date(Date.now() + 2000).toGMTString() }, } ); assert(policy.satisfiesWithoutRevalidation({ headers: {} })); }); it('not when URLs mismatch', function() { const policy = new CachePolicy( { url: '/foo', headers: {} }, { status: 200, headers: { 'cache-control': 'max-age=2' } } ); assert( !policy.satisfiesWithoutRevalidation({ url: '/foo?bar', headers: {}, }) ); }); it('when methods match', function() { const policy = new CachePolicy( { method: 'GET', headers: {} }, { status: 200, headers: { 'cache-control': 'max-age=2' } } ); assert( policy.satisfiesWithoutRevalidation({ method: 'GET', headers: {} }) ); }); it('not when hosts mismatch', function() { const policy = new CachePolicy( { headers: { host: 'foo' } }, { status: 200, headers: { 'cache-control': 'max-age=2' } } ); assert( policy.satisfiesWithoutRevalidation({ headers: { host: 'foo' } }) ); assert( !policy.satisfiesWithoutRevalidation({ headers: { host: 'foofoo' }, }) ); }); it('when methods match HEAD', function() { const policy = new CachePolicy( { method: 'HEAD', headers: {} }, { status: 200, headers: { 'cache-control': 'max-age=2' } } ); assert( policy.satisfiesWithoutRevalidation({ method: 'HEAD', headers: {} }) ); }); it('not when methods mismatch', function() { const policy = new CachePolicy( { method: 'POST', headers: {} }, { status: 200, headers: { 'cache-control': 'max-age=2' } } ); assert( !policy.satisfiesWithoutRevalidation({ method: 'GET', headers: {} }) ); }); it('not when methods mismatch HEAD', function() { const policy = new CachePolicy( { method: 'HEAD', headers: {} }, { status: 200, headers: { 'cache-control': 'max-age=2' } } ); assert( !policy.satisfiesWithoutRevalidation({ method: 'GET', headers: {} }) ); }); it('not when proxy revalidating', function() { const policy = new CachePolicy( { headers: {} }, { status: 200, headers: { 'cache-control': 'max-age=2, proxy-revalidate ' }, } ); assert(!policy.satisfiesWithoutRevalidation({ headers: {} })); }); it('when not a proxy revalidating', function() { const policy = new CachePolicy( { headers: {} }, { status: 200, headers: { 'cache-control': 'max-age=2, proxy-revalidate ' }, }, { shared: false } ); assert(policy.satisfiesWithoutRevalidation({ headers: {} })); }); it('not when no-cache requesting', function() { const policy = new CachePolicy( { headers: {} }, { headers: { 'cache-control': 'max-age=2' } } ); assert( policy.satisfiesWithoutRevalidation({ headers: { 'cache-control': 'fine' }, }) ); assert( !policy.satisfiesWithoutRevalidation({ headers: { 'cache-control': 'no-cache' }, }) ); assert( !policy.satisfiesWithoutRevalidation({ headers: { pragma: 'no-cache' }, }) ); }); }); http-cache-semantics-4.1.0/test/updatetest.js000066400000000000000000000174161362704537300212420ustar00rootroot00000000000000'use strict'; const assert = require('assert'); const CachePolicy = require('..'); const simpleRequest = { method: 'GET', headers: { host: 'www.w3c.org', connection: 'close', }, url: '/Protocols/rfc2616/rfc2616-sec14.html', }; function withHeaders(request, headers) { return Object.assign({}, request, { headers: Object.assign({}, request.headers, headers), }); } const cacheableResponse = { headers: { 'cache-control': 'max-age=111' } }; const etaggedResponse = { headers: Object.assign({ etag: '"123456789"' }, cacheableResponse.headers), }; const weakTaggedResponse = { headers: Object.assign( { etag: 'W/"123456789"' }, cacheableResponse.headers ), }; const lastModifiedResponse = { headers: Object.assign( { 'last-modified': 'Tue, 15 Nov 1994 12:45:26 GMT' }, cacheableResponse.headers ), }; const multiValidatorResponse = { headers: Object.assign( {}, etaggedResponse.headers, lastModifiedResponse.headers ), }; function notModifiedResponseHeaders( firstRequest, firstResponse, secondRequest, secondResponse ) { const cache = new CachePolicy(firstRequest, firstResponse); const headers = cache.revalidationHeaders(secondRequest); const { policy: newCache, modified } = cache.revalidatedPolicy( { headers }, secondResponse ); if (modified) { return false; } return newCache.responseHeaders(); } function assertUpdates( firstRequest, firstResponse, secondRequest, secondResponse ) { firstResponse = withHeaders(firstResponse, { foo: 'original', 'x-other': 'original' }); if (!firstResponse.status) { firstResponse.status = 200; } secondResponse = withHeaders(secondResponse, { foo: 'updated', 'x-ignore-new': 'ignoreme', }); if (!secondResponse.status) { secondResponse.status = 304; } const headers = notModifiedResponseHeaders( firstRequest, firstResponse, secondRequest, secondResponse ); assert(headers); assert.equal(headers['foo'], 'updated'); assert.equal(headers['x-other'], 'original'); assert.strictEqual(headers['x-ignore-new'], undefined); assert.strictEqual(headers['etag'], secondResponse.headers.etag); } describe('Update revalidated', function() { it('Matching etags are updated', function() { assertUpdates( simpleRequest, etaggedResponse, simpleRequest, etaggedResponse ); }); it('Matching weak etags are updated', function() { assertUpdates( simpleRequest, weakTaggedResponse, simpleRequest, weakTaggedResponse ); }); it('Matching lastmod are updated', function() { assertUpdates( simpleRequest, lastModifiedResponse, simpleRequest, lastModifiedResponse ); }); it('Both matching are updated', function() { assertUpdates( simpleRequest, multiValidatorResponse, simpleRequest, multiValidatorResponse ); }); it('Checks status', function() { const response304 = Object.assign({}, multiValidatorResponse, { status: 304, }); const response200 = Object.assign({}, multiValidatorResponse, { status: 200, }); assertUpdates( simpleRequest, multiValidatorResponse, simpleRequest, response304 ); assert( !notModifiedResponseHeaders( simpleRequest, multiValidatorResponse, simpleRequest, response200 ) ); }); it('Last-mod ignored if etag is wrong', function() { assert( !notModifiedResponseHeaders( simpleRequest, multiValidatorResponse, simpleRequest, withHeaders(multiValidatorResponse, { etag: 'bad' }) ) ); assert( !notModifiedResponseHeaders( simpleRequest, multiValidatorResponse, simpleRequest, withHeaders(multiValidatorResponse, { etag: 'W/bad' }) ) ); }); it('Ignored if validator is missing', function() { assert( !notModifiedResponseHeaders( simpleRequest, etaggedResponse, simpleRequest, cacheableResponse ) ); assert( !notModifiedResponseHeaders( simpleRequest, weakTaggedResponse, simpleRequest, cacheableResponse ) ); assert( !notModifiedResponseHeaders( simpleRequest, lastModifiedResponse, simpleRequest, cacheableResponse ) ); }); it('Skips update of content-length', function() { const etaggedResponseWithLenght1 = withHeaders(etaggedResponse, { 'content-length': 1, }); const etaggedResponseWithLenght2 = withHeaders(etaggedResponse, { 'content-length': 2, }); const headers = notModifiedResponseHeaders( simpleRequest, etaggedResponseWithLenght1, simpleRequest, etaggedResponseWithLenght2 ); assert.equal(1, headers['content-length']); }); it('Ignored if validator is different', function() { assert( !notModifiedResponseHeaders( simpleRequest, lastModifiedResponse, simpleRequest, etaggedResponse ) ); assert( !notModifiedResponseHeaders( simpleRequest, lastModifiedResponse, simpleRequest, weakTaggedResponse ) ); assert( !notModifiedResponseHeaders( simpleRequest, etaggedResponse, simpleRequest, lastModifiedResponse ) ); }); it("Ignored if validator doesn't match", function() { assert( !notModifiedResponseHeaders( simpleRequest, etaggedResponse, simpleRequest, withHeaders(etaggedResponse, { etag: '"other"' }) ), 'bad etag' ); assert( !notModifiedResponseHeaders( simpleRequest, lastModifiedResponse, simpleRequest, withHeaders(lastModifiedResponse, { 'last-modified': 'dunno' }) ), 'bad lastmod' ); }); it("staleIfError revalidate, no response", function() { const cacheableStaleResponse = { headers: { 'cache-control': 'max-age=200, stale-if-error=300' } }; const cache = new CachePolicy(simpleRequest, cacheableStaleResponse); const { policy, modified } = cache.revalidatedPolicy( simpleRequest, null ); assert(policy === cache); assert(modified === false); }); it("staleIfError revalidate, server error", function() { const cacheableStaleResponse = { headers: { 'cache-control': 'max-age=200, stale-if-error=300' } }; const cache = new CachePolicy(simpleRequest, cacheableStaleResponse); const { policy, modified } = cache.revalidatedPolicy( simpleRequest, { status: 500 } ); assert(policy === cache); assert(modified === false); }); }); http-cache-semantics-4.1.0/test/varytest.js000066400000000000000000000130021362704537300207240ustar00rootroot00000000000000'use strict'; const assert = require('assert'); const CachePolicy = require('..'); describe('Vary', function() { it('Basic', function() { const policy = new CachePolicy( { headers: { weather: 'nice' } }, { headers: { 'cache-control': 'max-age=5', vary: 'weather' } } ); assert( policy.satisfiesWithoutRevalidation({ headers: { weather: 'nice' }, }) ); assert( !policy.satisfiesWithoutRevalidation({ headers: { weather: 'bad' }, }) ); }); it("* doesn't match", function() { const policy = new CachePolicy( { headers: { weather: 'ok' } }, { headers: { 'cache-control': 'max-age=5', vary: '*' } } ); assert( !policy.satisfiesWithoutRevalidation({ headers: { weather: 'ok' } }) ); }); it('* is stale', function() { const policy1 = new CachePolicy( { headers: { weather: 'ok' } }, { headers: { 'cache-control': 'public,max-age=99', vary: '*' } } ); const policy2 = new CachePolicy( { headers: { weather: 'ok' } }, { headers: { 'cache-control': 'public,max-age=99', vary: 'weather', }, } ); assert(policy1.stale()); assert(!policy2.stale()); }); it('Values are case-sensitive', function() { const policy = new CachePolicy( { headers: { weather: 'BAD' } }, { headers: { 'cache-control': 'max-age=5', vary: 'Weather' } } ); assert( policy.satisfiesWithoutRevalidation({ headers: { weather: 'BAD' } }) ); assert( !policy.satisfiesWithoutRevalidation({ headers: { weather: 'bad' }, }) ); }); it('Irrelevant headers ignored', function() { const policy = new CachePolicy( { headers: { weather: 'nice' } }, { headers: { 'cache-control': 'max-age=5', vary: 'moon-phase' } } ); assert( policy.satisfiesWithoutRevalidation({ headers: { weather: 'bad' } }) ); assert( policy.satisfiesWithoutRevalidation({ headers: { sun: 'shining' } }) ); assert( !policy.satisfiesWithoutRevalidation({ headers: { 'moon-phase': 'full' }, }) ); }); it('Absence is meaningful', function() { const policy = new CachePolicy( { headers: { weather: 'nice' } }, { headers: { 'cache-control': 'max-age=5', vary: 'moon-phase, weather', }, } ); assert( policy.satisfiesWithoutRevalidation({ headers: { weather: 'nice' }, }) ); assert( !policy.satisfiesWithoutRevalidation({ headers: { weather: 'nice', 'moon-phase': '' }, }) ); assert(!policy.satisfiesWithoutRevalidation({ headers: {} })); }); it('All values must match', function() { const policy = new CachePolicy( { headers: { sun: 'shining', weather: 'nice' } }, { headers: { 'cache-control': 'max-age=5', vary: 'weather, sun' } } ); assert( policy.satisfiesWithoutRevalidation({ headers: { sun: 'shining', weather: 'nice' }, }) ); assert( !policy.satisfiesWithoutRevalidation({ headers: { sun: 'shining', weather: 'bad' }, }) ); }); it('Whitespace is OK', function() { const policy = new CachePolicy( { headers: { sun: 'shining', weather: 'nice' } }, { headers: { 'cache-control': 'max-age=5', vary: ' weather , sun ', }, } ); assert( policy.satisfiesWithoutRevalidation({ headers: { sun: 'shining', weather: 'nice' }, }) ); assert( !policy.satisfiesWithoutRevalidation({ headers: { weather: 'nice' }, }) ); assert( !policy.satisfiesWithoutRevalidation({ headers: { sun: 'shining' }, }) ); }); it('Order is irrelevant', function() { const policy1 = new CachePolicy( { headers: { sun: 'shining', weather: 'nice' } }, { headers: { 'cache-control': 'max-age=5', vary: 'weather, sun' } } ); const policy2 = new CachePolicy( { headers: { sun: 'shining', weather: 'nice' } }, { headers: { 'cache-control': 'max-age=5', vary: 'sun, weather' } } ); assert( policy1.satisfiesWithoutRevalidation({ headers: { weather: 'nice', sun: 'shining' }, }) ); assert( policy1.satisfiesWithoutRevalidation({ headers: { sun: 'shining', weather: 'nice' }, }) ); assert( policy2.satisfiesWithoutRevalidation({ headers: { weather: 'nice', sun: 'shining' }, }) ); assert( policy2.satisfiesWithoutRevalidation({ headers: { sun: 'shining', weather: 'nice' }, }) ); }); });