Skip to content

Instantly share code, notes, and snippets.

@ThomasLocke
Created September 15, 2013 06:07
Show Gist options
  • Select an option

  • Save ThomasLocke/6568396 to your computer and use it in GitHub Desktop.

Select an option

Save ThomasLocke/6568396 to your computer and use it in GitHub Desktop.
Using the Ada Web Server (AWS), part 2 - snippet 5
return AWS.Response.Build
(Content_Type => AWS.MIME.Text_HTML,
Message_Body => Parse ("templates/not_found.tmpl", Translations),
Status_Code => AWS.Messages.S404);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment