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

nginx caching
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 30 Apr 2021 20:23:28 -0600
parents 27efb1fcbcb5
children
line wrap: on
line diff
--- a/src/goodjava/webserver/examples/Params.java	Tue Apr 20 18:06:50 2021 -0600
+++ b/src/goodjava/webserver/examples/Params.java	Fri Apr 30 20:23:28 2021 -0600
@@ -14,7 +14,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) );
 			for( Map.Entry<String,Object> entry : request.parameters.entrySet() ) {