Path: csiph.com!aioe.org!.POSTED!not-for-mail From: Herbert Kleebauer Newsgroups: comp.lang.javascript Subject: Re: Read binary file Date: Fri, 18 Mar 2016 21:14:09 +0100 Organization: Aioe.org NNTP Server Lines: 57 Message-ID: References: <145821661.4prVZSFEgG@PointedEars.de> <2237637.9AE1fihV9u@PointedEars.de> <6005521.MME42bj82n@PointedEars.de> <2814357.mXD5CvAbfT@PointedEars.de> NNTP-Posting-Host: 93.209.114.88 Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: gioia.aioe.org 1458332096 16925 93.209.114.88 (18 Mar 2016 20:14:56 GMT) X-Complaints-To: abuse@aioe.org NNTP-Posting-Date: Fri, 18 Mar 2016 20:14:56 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 Cache: gioia.aioe.org 1458332096 16925 93.209.114.88 1458332096 93.209.114.88 1901 1010 Q6q+DTKQxjZjsyFLX1IkXA 93.209.114 1 0 In-Reply-To: <2814357.mXD5CvAbfT@PointedEars.de> Xref: csiph.com comp.lang.javascript:30050 On 18.03.2016 17:22, Thomas 'PointedEars' Lahn wrote: > Stefan Weiss wrote: >> Right, that doesn't really solve the problem. It makes server B fetch >> the image from server A, which is what you wanted to avoid in the first >> place. > > Wishful thinking. He did _not_ say that. He said: > > | Because of copyright I can't just copy the picture, modify it and > | store it on server B. […] Where is the difference? > Proxying is different from copying, and from caching. For me a proxy is a server which collects the HTTP requests from a client, checks if a local copy is available and if not fetches it from the original server. This is transparent for the client because he always sends the original URL. In this case this would mean, the client sends a request for http://serverA/1.jpg. But if I understand you correct, you are suggesting to send a request for http://serverB/1.jpg and serverB changes this to http://serverA/1.jpg and forwards it to a local proxy. But the final effect is, that there is a 1.jpg on server B which can be accessed by http://serverB/1.jpg and this surely is a copyright violation. It doesn't matter whether this jpg is stored permanent in the file system, temporary in the proxy cache or just forwarded from serverA. >>>>>> There is no javascript. >>>>> ??????????? >>>> See the reference to the “ES Matrix” in my signature. I don't understand your problems with "javascript" (http://pointedears.de/es-matrix just gives a "Forbidden"). JavaScript was introduced by and is a trademark of Netscape (now Oracle). Later the Standard ECMA-262 was created and there are many implementations of this standard (including JavaScript). The commonly used name for all this implementation is "javascript". Therefore normally is written: >>> jpg >>>