From: Francis Dupont Date: Fri, 23 Dec 2016 17:59:21 +0000 (+0100) Subject: [5088] spelling & indent X-Git-Tag: trac5090_base~2^2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3409be04bbab4ac7045d4f57cb45b115c66f9bb6;p=thirdparty%2Fkea.git [5088] spelling & indent --- diff --git a/src/lib/http/response.h b/src/lib/http/response.h index 0a0aae79c2..58db85421c 100644 --- a/src/lib/http/response.h +++ b/src/lib/http/response.h @@ -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. diff --git a/src/lib/http/response_creator.h b/src/lib/http/response_creator.h index 602670bb89..4d19838e20 100644 --- a/src/lib/http/response_creator.h +++ b/src/lib/http/response_creator.h @@ -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. diff --git a/src/lib/http/tests/response_creator_unittests.cc b/src/lib/http/tests/response_creator_unittests.cc index be9d25a0c1..bf26047bba 100644 --- a/src/lib/http/tests/response_creator_unittests.cc +++ b/src/lib/http/tests/response_creator_unittests.cc @@ -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