From: Rob Pike Date: Thu, 22 Oct 2009 02:52:11 +0000 (-0700) Subject: have http server in-line PDF files. X-Git-Tag: weekly.2009-11-06~235 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=c6e904d5801170863424a7f50e70edc532c93cd4;p=gostls13.git have http server in-line PDF files. 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 --- diff --git a/doc/GoCourseDay1.pdf b/doc/GoCourseDay1.pdf new file mode 100644 index 0000000000..daa99851b7 Binary files /dev/null and b/doc/GoCourseDay1.pdf differ diff --git a/doc/GoCourseDay2.pdf b/doc/GoCourseDay2.pdf new file mode 100644 index 0000000000..d05486e308 Binary files /dev/null and b/doc/GoCourseDay2.pdf differ diff --git a/doc/GoCourseDay3.pdf b/doc/GoCourseDay3.pdf new file mode 100644 index 0000000000..91d723a686 Binary files /dev/null and b/doc/GoCourseDay3.pdf differ diff --git a/src/pkg/http/fs.go b/src/pkg/http/fs.go index b56a101554..312f65a748 100644 --- a/src/pkg/http/fs.go +++ b/src/pkg/http/fs.go @@ -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", }