Skip to content

Instantly share code, notes, and snippets.

@teivah
Created May 30, 2018 13:21
Show Gist options
  • Save teivah/d554727ffed80cb7d38a5a763b4d711e to your computer and use it in GitHub Desktop.
Save teivah/d554727ffed80cb7d38a5a763b4d711e to your computer and use it in GitHub Desktop.
response.putHeader("Content-Type", "text/plain");
response.setChunked(true);
response.write("Hello " + name);
response.setStatusCode(200);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment