Thread Ajax und Last-Modified (7 answers)
Opened by rosti at 2023-11-14 10:52

GwenDragon
 2023-11-14 13:05
#195535 #195535
User since
2005-01-17
14578 Artikel
Admin1
[Homepage]
user image
Ich habe mal in der Developertools → Console meines Vivaldi das getestet:
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
> const client = new XMLHttpRequest();
client.open("GET", "http://rolfrost.de/", true);
client.send();
client.onreadystatechange = () => {
if (client.readyState === client.HEADERS_RECEIVED) {
const httpLM = client.getResponseHeader("Last-Modified");
console.log(httpLM);
}
};

<. () => {
if (client.readyState === client.HEADERS_RECEIVED) {
const httpLM= client.getResponseHeader("Last-Modified");
console.log(httpLM);
}
}

VM42:7 Tue, 14 Nov 2023 09:03:16 GMT

Last edited: 2023-11-14 13:09:51 +0100 (CET)
die Drachin Gwendolyn

View full thread Ajax und Last-Modified