Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quellcode-Bibliothek chips.sjs   Sprache: unbekannt

 
Untersuchungsergebnis.sjs Download desUnknown {[0] [0] [0]}

function handleRequest(aRequest, aResponse) {
  aResponse.setStatusLine(aRequest.httpVersion, 200);

  var params = new URLSearchParams(aRequest.queryString);

  // Get Cookie header string.
  if (params.has("get")) {
    if (aRequest.hasHeader("Cookie")) {
      let cookie = aRequest.getHeader("Cookie");
      aResponse.write(cookie);
    }
    return;
  }

  // Set a partitioned and a unpartitioned cookie.
  if (params.has("set")) {
    aResponse.setHeader(
      "Set-Cookie",
      "cookie=partitioned; Partitioned; SameSite=None; Secure",
      true
    );
    aResponse.setHeader(
      "Set-Cookie",
      "cookie=unpartitioned; SameSite=None; Secure",
      true
    );
  }

  if (params.has("setnonchips")) {
    aResponse.setHeader(
      "Set-Cookie",
      "nonchips=foreign; SameSite=None; Secure",
      true
    );
  }
}

[0.96Quellennavigators]

                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Statistik
#Sources=277311
#Domains=752002