summaryrefslogtreecommitdiffstats
path: root/src/HTTPServer/HTTPConnection.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-04-19 17:32:44 +0200
committerMattes D <github@xoft.cz>2015-04-19 17:32:44 +0200
commitd40078d163036fbc2207bf2f5a9fbf7eeaa44fc1 (patch)
tree5c6962d3859ac3dcf67a288d59dfc05ed5859323 /src/HTTPServer/HTTPConnection.h
parentMerge pull request #1864 from mc-server/StrictRecipeMatching (diff)
downloadcuberite-d40078d163036fbc2207bf2f5a9fbf7eeaa44fc1.tar
cuberite-d40078d163036fbc2207bf2f5a9fbf7eeaa44fc1.tar.gz
cuberite-d40078d163036fbc2207bf2f5a9fbf7eeaa44fc1.tar.bz2
cuberite-d40078d163036fbc2207bf2f5a9fbf7eeaa44fc1.tar.lz
cuberite-d40078d163036fbc2207bf2f5a9fbf7eeaa44fc1.tar.xz
cuberite-d40078d163036fbc2207bf2f5a9fbf7eeaa44fc1.tar.zst
cuberite-d40078d163036fbc2207bf2f5a9fbf7eeaa44fc1.zip
Diffstat (limited to 'src/HTTPServer/HTTPConnection.h')
-rw-r--r--src/HTTPServer/HTTPConnection.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/HTTPServer/HTTPConnection.h b/src/HTTPServer/HTTPConnection.h
index 8ecc4a4d4..e1ebeb9ee 100644
--- a/src/HTTPServer/HTTPConnection.h
+++ b/src/HTTPServer/HTTPConnection.h
@@ -41,7 +41,8 @@ public:
cHTTPConnection(cHTTPServer & a_HTTPServer);
virtual ~cHTTPConnection();
- /** Sends HTTP status code together with a_Reason (used for HTTP errors) */
+ /** Sends HTTP status code together with a_Reason (used for HTTP errors).
+ Sends the a_Reason as the body as well, so that browsers display it. */
void SendStatusAndReason(int a_StatusCode, const AString & a_Reason);
/** Sends the "401 unauthorized" reply together with instructions on authorizing, using the specified realm */