diff src/goodjava/webserver/examples/Example.java @ 1607:fa066aaa068c

nginx caching
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 30 Apr 2021 20:23:28 -0600
parents 219f2b937f2b
children
line wrap: on
line diff
--- a/src/goodjava/webserver/examples/Example.java	Tue Apr 20 18:06:50 2021 -0600
+++ b/src/goodjava/webserver/examples/Example.java	Fri Apr 30 20:23:28 2021 -0600
@@ -23,7 +23,7 @@
 
 	public Response handle(Request request) {
 		Response response = new Response();
-		response.headers.put( "content-type", "text/plain; charset=utf-8" );
+		response.headers.put( "Content-Type", "text/plain; charset=utf-8" );
 		try {
 			Writer writer = new OutputStreamWriter( new ResponseOutputStream(response) );
 			writer.write("Hello World\n");