mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-07 01:18:02 +00:00
Add support for x-requested-with in CPURLConnection [#231 state:resolved milestone:0.7]
This commit is contained in:
1 parent
b24011cd6c
commit
2e32688ad6
1 file changed
+1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user