]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5088] spelling & indent
authorFrancis Dupont <fdupont@isc.org>
Fri, 23 Dec 2016 17:59:21 +0000 (18:59 +0100)
committerFrancis Dupont <fdupont@isc.org>
Fri, 23 Dec 2016 17:59:21 +0000 (18:59 +0100)
src/lib/http/response.h
src/lib/http/response_creator.h
src/lib/http/tests/response_creator_unittests.cc

index 0a0aae79c274b9e33851bdd1e546dbe1d12c4315..58db85421c441ccec4504a55d0469e5452088a50 100644 (file)
@@ -182,7 +182,7 @@ protected:
 
     /// @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.
index 602670bb893ab2934a5edbcc2e8e420742e3abf7..4d19838e20782f97287e8f28d9aaba27e00815c1 100644 (file)
@@ -16,7 +16,7 @@ namespace http {
 /// @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
@@ -67,7 +67,7 @@ public:
 
 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.
index be9d25a0c1d9bc32790e0cb05e6cb0eeb2042da0..bf26047bba43c0589647223543fb75703f316b51 100644 (file)
@@ -81,7 +81,8 @@ TEST(HttpResponseCreatorTest, badRequest) {
               "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