]> Cypherpunks repositories - gostls13.git/commitdiff
have http server in-line PDF files.
authorRob Pike <r@golang.org>
Thu, 22 Oct 2009 02:52:11 +0000 (19:52 -0700)
committerRob Pike <r@golang.org>
Thu, 22 Oct 2009 02:52:11 +0000 (19:52 -0700)
add go course pdf files to doc/ for godoc to serve.
fix links to point to those files.

R=rsc
DELTA=7  (4 added, 0 deleted, 3 changed)
OCL=35972
CL=35981

doc/GoCourseDay1.pdf [new file with mode: 0644]
doc/GoCourseDay2.pdf [new file with mode: 0644]
doc/GoCourseDay3.pdf [new file with mode: 0644]
src/pkg/http/fs.go

diff --git a/doc/GoCourseDay1.pdf b/doc/GoCourseDay1.pdf
new file mode 100644 (file)
index 0000000..daa9985
Binary files /dev/null and b/doc/GoCourseDay1.pdf differ
diff --git a/doc/GoCourseDay2.pdf b/doc/GoCourseDay2.pdf
new file mode 100644 (file)
index 0000000..d05486e
Binary files /dev/null and b/doc/GoCourseDay2.pdf differ
diff --git a/doc/GoCourseDay3.pdf b/doc/GoCourseDay3.pdf
new file mode 100644 (file)
index 0000000..91d723a
Binary files /dev/null and b/doc/GoCourseDay3.pdf differ
index b56a101554bd39e7eecd83eb18095c226ce29f41..312f65a748554307cc330c35f62dc31d6569d484 100644 (file)
@@ -22,6 +22,7 @@ var contentByExt = map[string] string {
        ".html":        "text/html; charset=utf-8",
        ".jpg": "image/jpeg",
        ".js":  "application/x-javascript",
+       ".pdf": "application/pdf",
        ".png": "image/png",
 }