Add support for x-requested-with in CPURLConnection [#231 state:resolved milestone:0.7]

This commit is contained in:
Ross Boucher committed 2009-04-19 13:54:01 -07:00
1 parent b24011cd6c
commit 2e32688ad6
1 file changed
+1
+1
View File
@@ -65,6 +65,7 @@
[self setValue:"Thu, 1 Jan 1970 00:00:00 GMT" forHTTPHeaderField:"If-Modified-Since"];
[self setValue:"no-cache" forHTTPHeaderField:"Cache-Control"];
[self setValue:"XMLHttpRequest" forHTTPHeaderField:"X-Requested-With"];
}
return self;