From 34c076e2a88c43b02c4177e77cf1068ab6d9d9f8 Mon Sep 17 00:00:00 2001
From: Bart Visscher <bartv@thisnet.nl>
Date: Mon, 6 Aug 2012 22:17:10 +0200
Subject: [PATCH] Add comments the other functions in OC_Request

---
 lib/request.php | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/lib/request.php b/lib/request.php
index cb93a088172..d013844f08d 100644
--- a/lib/request.php
+++ b/lib/request.php
@@ -52,6 +52,10 @@ class OC_Request {
 		return($proto);
 	}
 
+	/**
+	 * @brief Check if this is a no-cache request
+	 * @returns true for no-cache
+	 */
 	static public function isNoCache() {
 		if (!isset($_SERVER['HTTP_CACHE_CONTROL'])) {
 			return false;
@@ -59,6 +63,10 @@ class OC_Request {
 		return $_SERVER['HTTP_CACHE_CONTROL'] == 'no-cache';
 	}
 
+	/**
+	 * @brief Check if the requestor understands gzip
+	 * @returns true for gzip encoding supported
+	 */
 	static public function acceptGZip() {
 		if (!isset($_SERVER['HTTP_ACCEPT_ENCODING'])) {
 			return false;
-- 
GitLab