Eine aufbereitete Darstellung der Quelle

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

Benutzer

Quelle  multipart.sjs   Sprache: unbekannt

 
Spracherkennung für: .sjs vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

/* Any copyright is dedicated to the Public Domain.
   http://creativecommons.org/publicdomain/zero/1.0/ */

"use strict";

function handleRequest(request, response) {
  response.seizePower();

  response.write("HTTP/1.1 200 OK\r\n");
  response.write("Access-Control-Allow-Origin: *\r\n");
  // See bug 1752761. The extra "\r\n" was the reason why FormDataParser
  // could not parse this correctly.
  response.write(
    "Content-type: multipart/form-data; boundary=boundary\r\n\r\n"
  );
  response.write("\r\n");
  response.write("--boundary\r\n");
  response.write(
    'Content-Disposition: form-data; name="file1"; filename="file1.txt"\r\n'
  );
  response.write("Content-Type: text/plain\r\n\r\n");
  response.write("Content of file1\r\n");
  response.write("--boundary\r\n");
  response.write(
    'Content-Disposition: form-data; name="file2"; filename="file2.txt"\r\n'
  );
  response.write("Content-Type: text/plain\r\n\r\n");
  response.write("Content of file2\r\n");
  response.write("--boundary--\r\n");
  response.write("");
  response.finish();
}

[Dauer der Verarbeitung: 0.20 Sekunden, vorverarbeitet 2026-08-26]

                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Statistik
#Sources=277311
#Domains=655579