diff --git a/libstuff/SHTTPSManager.cpp b/libstuff/SHTTPSManager.cpp index 18d4aaf24..ec2b9da49 100644 --- a/libstuff/SHTTPSManager.cpp +++ b/libstuff/SHTTPSManager.cpp @@ -89,11 +89,11 @@ void SStandaloneHTTPSManager::postPoll(fd_map& fdm, SStandaloneHTTPSManager::Tra // Shut down the socket, we're done with it. transaction.s->shutdown(Socket::CLOSED); - // This is supposed to check for a "200 OK" response, which it does very poorly. It also checks for message + // This is supposed to check for a "200" response, which it does very poorly. It also checks for message // content. Why this is the what constitutes a valid response is lost to time. Any well-formed response should // be valid here, and this should get cleaned up. However, this requires testing anything that might rely on // the existing behavior, which is an exercise for later. - if (SContains(transaction.fullResponse.methodLine, " 200 ") || transaction.fullResponse.content.size()) { + if (SContains(transaction.fullResponse.methodLine, " 200") || transaction.fullResponse.content.size()) { // Pass the transaction down to the subclass. _onRecv(&transaction); } else { diff --git a/libstuff/SLog.cpp b/libstuff/SLog.cpp index 584b6cb9a..36f8ad446 100644 --- a/libstuff/SLog.cpp +++ b/libstuff/SLog.cpp @@ -53,7 +53,8 @@ static const set PARAMS_WHITELIST = { "policyID", "companyName", "companyWebsite", - "invoice" + "invoice", + "policyAccountID" }; string addLogParams(string&& message, const map& params) {