diff options
author | Russ Cox <rsc@golang.org> | 2020-03-09 23:23:49 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2020-03-11 14:10:22 +0000 |
commit | 7fd29cb024126de10a90c54427e050e7928c54b4 (patch) | |
tree | 42498c25ba0669a5914b2d883419e5d15b7a7a8c /content/h2push.article | |
parent | 9dd3d9b97af3dba2bd18f1a5e18bd8e8edf78962 (diff) |
content: make spacing consistent + remove comments
Remove repeated blank lines, trailing spaces, trailing blank lines
Remove comments from survey2018.article (only article using them).
Remove blank lines between successive ".commands".
For golang/go#33955.
Change-Id: I90cae37a859a8e39549520569d5f10bc455415d3
Reviewed-on: https://go-review.googlesource.com/c/blog/+/222841
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'content/h2push.article')
-rw-r--r-- | content/h2push.article | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/content/h2push.article b/content/h2push.article index 519eb92..87e3649 100644 --- a/content/h2push.article +++ b/content/h2push.article @@ -60,7 +60,6 @@ A fully working example is available at: $ go get golang.org/x/blog/content/h2push/server - If you run the server and load [[https://localhost:8080][https://localhost:8080]], your browser's developer tools should show that `app.js` and `style.css` were pushed by the server. @@ -74,12 +73,10 @@ of the response. Otherwise it is possible to accidentally generate duplicate responses. For example, suppose you write part of an HTML response: - <html> <head> <link rel="stylesheet" href="a.css">... - Then you call Push("a.css", nil). The browser may parse this fragment of HTML before it receives your PUSH_PROMISE, in which case the browser will send a request for `a.css` in addition to receiving your |