Add a more specific cache header.

Closes #649.
This commit is contained in:
Ross Boucher
2010-05-15 12:22:29 -07:00
parent 66180f8de4
commit fddcde757f
+1 -1
View File
@@ -68,7 +68,7 @@
_HTTPMethod = @"GET";
_HTTPHeaderFields = [CPDictionary dictionary];
[self setValue:"Thu, 1 Jan 1970 00:00:00 GMT" forHTTPHeaderField:"If-Modified-Since"];
[self setValue:"Thu, 01 Jan 1970 00:00:00 GMT" forHTTPHeaderField:"If-Modified-Since"];
[self setValue:"no-cache" forHTTPHeaderField:"Cache-Control"];
[self setValue:"XMLHttpRequest" forHTTPHeaderField:"X-Requested-With"];
}