/// @brief Returns current time formatted as required by RFC 1123.
///
- /// This method is virtual so as it can be overriden in unit tests
+ /// This method is virtual so as it can be overridden in unit tests
/// to return a "predictable" value of time, e.g. constant value.
///
/// @return Current time formatted as required by RFC 1123.
/// @brief Specifies an interface for classes creating HTTP responses
/// from HTTP requests.
///
-/// HTTP is designed to carry various types of the content. Most commonly
+/// HTTP is designed to carry various content types. Most commonly
/// this is text/html. In Kea, the application/json content type is used
/// to carry control commands in JSON format. The libkea-http library is
/// meant to be generic and provide means for transferring different types
protected:
- /// @brief Creates implentation specific HTTP 400 response.
+ /// @brief Creates implementation specific HTTP 400 response.
///
/// @param request Pointer to an object representing HTTP request.
/// @return Pointer to an object representing HTTP 400 response.
"Content-Length: 40\r\n"
"Content-Type: application/json\r\n"
"Date: Tue, 19 Dec 2016 18:53:35 GMT\r\n\r\n"
- "{ \"result\": 400, \"text\": \"Bad Request\" }", response->toString());
+ "{ \"result\": 400, \"text\": \"Bad Request\" }",
+ response->toString());
}
// This test verifies that response is generated successfully from the