Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updates the DOCTYPE of hardcoded messages.

  • Loading branch information...
commit 5185a4aade0fa2d38a96d669f7308818f12032ed 1 parent 22b7016
Alvaro Lopez Ortega alobbs authored
Showing with 6 additions and 7 deletions.
  1. +6 −7 cherokee/thread.c
13 cherokee/thread.c
View
@@ -446,13 +446,12 @@ send_hardcoded_error (cherokee_socket_t *sock,
cherokee_boolean_t done = false;
cherokee_buffer_clean (tmp);
- cherokee_buffer_add_va (
- tmp,
- "HTTP/1.0 %s" CRLF_CRLF \
- "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">" CRLF \
- "<html><head><title>%s</title></head>" CRLF \
- "<body><h1>%s</h1></body></html>",
- error, error, error);
+ cherokee_buffer_add_va (tmp,
+ "HTTP/1.0 %s" CRLF_CRLF \
+ "<!DOCTYPE html>" CRLF \
+ "<html><head><title>%s</title></head>" CRLF \
+ "<body><h1>%s</h1></body></html>",
+ error, error, error);
do {
write = 0;
Please sign in to comment.
Something went wrong with that request. Please try again.