--
You received this message because you are subscribed to the Google Groups "QUIC Prototype Protocol Discussion group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to proto-quic+...@chromium.org.
To post to this group, send email to proto...@chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.
X-Original-Url: http://localhost/index.html
which informs the full path of that object inside the cache hierarchy;
X-Original-Url: http://localhost/index.html<!DOCTYPE html><!--
Sorry for the long email, but I did not find other way to explain this.You can do the same with a png file. Just modify the index.html for the name of the object your html is trying to load.
i must insert the pre-header at the beginning of the file
is there any modification in the command of the server and client when running ?
Thanks Wesley for your kind help, please let me explain what I did again,I did all the QUIC setup steps mentioned in this URL:Now, after getting the index.html file, I added X-Original-Url field for the image file (th.jpg) I need to include in my index.html file, as shown below:X-Original-Url: https://www.example.org/X-Original-Url: https://www.example.org/th.jpg<!doctype html><html><head><title>Example Domain</title><meta charset="utf-8" />..<body><div><h1>Example Domain</h1><p>This domain is established to be used for illustrative examples in documents. You may use thisdomain in examples without prior coordination or asking for permission.</p><p><a href="http://www.iana.org/domains/example">More information...</a></p><img src="th.jpg"></div></body></html>However, when I open chrome using the command below, I still do not see the image inside index.html file. Did I miss anything? please note that I saved the image file in the same folder where the index.html file is saved ( which s the www.example.org).Here is the command I used to open the html page:google-chrome --user-data-dir=/tmp/chrome-profile --no-proxy-server --enable-quic --origin-to-force-quic-on=www.example.org:443 --host-resolver-rules='MAP www.example.org:443 localhost:6121' https://www.example.org
Thanks for your email,
I tried the steps you have mentioned, but the image file become corrupted whenever I inserted any text into it (before the binary data of the image), I tried using several editors like gedit, emac., vi, etc.
Also, do I need to do that for any file (video file for example)?
Thanks
% wget --save-headers http://kingofwallpapers.com/cheese/cheese-018.jpg% cp cheese-018.jpg cheese-018.jpg.bak% emacs --no-init-file -nw cheese-018.jpg% diff -du -a cheese-018.jpg.bak cheese-018.jpg--- cheese-018.jpg.bak 2016-06-16 09:46:50.301594059 -0700+++ cheese-018.jpg 2016-06-16 09:47:16.553656731 -0700@@ -2,6 +2,7 @@Date: Thu, 16 Jun 2016 16:46:41 GMTContent-Type: image/jpegContent-Length: 10594061+X-Original-Url: https://www.example.org/cheese.jpgConnection: keep-aliveSet-Cookie: __cfduid=d7fdf33545c3a1c23d746ff4edba071291466095601; expires=Fri, 16-Jun-17 16:46:41 GMT; path=/; domain=.kingofwallpapers.com; HttpOnlyLast-Modified: Fri, 22 Apr 2016 08:09:26 GMT