Diff
checker
Texte
Texte
Images
Documents
Excel
Dossiers
Legal
Enterprise
Application de bureau
Prix
Se connecter
Télécharger Diffchecker Desktop
Comparer le texte
Trouver la différence entre deux fichiers texte
Outils
Historique
Éditeur live
Cacher identiques
Sans retour à la ligne
Vue
Divisé
Unifié
Niveau de précision
Intelligent
Mot
Caractère
Coloration syntaxique
Choisir la syntaxe
Ignorer
Transformer le texte
Aller au premier écart
Modifier l'entrée
Diffchecker Desktop
La façon la plus sécurisée d'utiliser Diffchecker. Obtenez l'application Diffchecker Desktop : vos diffs ne quittent jamais votre ordinateur !
Obtenir Desktop
Untitled diff
Créé
il y a 8 ans
Le diff n'expire jamais
Effacer
Exporter
Partager
Expliquer
7 suppressions
Lignes
Total
Supprimé
Caractères
Total
Supprimé
Pour continuer à utiliser cette fonctionnalité, passez à
Diff
checker
Pro
Voir les prix
34 lignes
Copier tout
3 ajouts
Lignes
Total
Ajouté
Caractères
Total
Ajouté
Pour continuer à utiliser cette fonctionnalité, passez à
Diff
checker
Pro
Voir les prix
34 lignes
Copier tout
Copier
Copié
Copier
Copié
WIRESHARK CAPTURE, THIS
WORKED
...
WIRESHARK CAPTURE, THIS
GAVE "500 INTERNAL SERVER ERROR"
...
PATCH /api/v1/solutions/db1793b901b14b6d93c45dcfc2c15ac4 HTTP/1.1
PATCH /api/v1/solutions/db1793b901b14b6d93c45dcfc2c15ac4 HTTP/1.1
Host: lvh.me:3000
Host: lvh.me:3000
Content-Type: multipart/form-data; boundary=Ben-Coman-Constant-Boundary-Zero-Diff-For-Testing-Comparison
Content-Type: multipart/form-data; boundary=Ben-Coman-Constant-Boundary-Zero-Diff-For-Testing-Comparison
Accept: */*
Accept: */*
Copier
Copié
Copier
Copié
Content-Length: 27
3
Content-Length: 27
1
Accept-Encoding: gzip
Accept-Encoding: gzip
User-Agent: Zinc HTTP Components 1.0 (Pharo/6.0)
User-Agent: Zinc HTTP Components 1.0 (Pharo/6.0)
Authorization: Bearer d264a08c-6bf6-4c3c-93fa-ac3cb3040282
Authorization: Bearer d264a08c-6bf6-4c3c-93fa-ac3cb3040282
--Ben-Coman-Constant-Boundary-Zero-Diff-For-Testing-Comparison
--Ben-Coman-Constant-Boundary-Zero-Diff-For-Testing-Comparison
Content-Type: application/octet-stream
Content-Type: application/octet-stream
Content-Length: 13
Content-Length: 13
Copier
Copié
Copier
Copié
Content-Disposition: form-data;
name="files[]";
filename="x.txt"
Content-Disposition: form-data;
name="files[]";
filename="x.txt"
MY SOLUTION
MY SOLUTION
--Ben-Coman-Constant-Boundary-Zero-Diff-For-Testing-Comparison--
--Ben-Coman-Constant-Boundary-Zero-Diff-For-Testing-Comparison--
======================================
======================================
Copier
Copié
Copier
Copié
MODIFIED
LIBRARY CODE...
ORIGINAL
LIBRARY CODE...
ZnMimePart class >> fieldName: fieldName fileName: fileName entity: entity
ZnMimePart class >> fieldName: fieldName fileName: fileName entity: entity
"Pathnames are often silenty encoded using UTF-8,
"Pathnames are often silenty encoded using UTF-8,
this is a no-op for ASCII, but will fail on Latin-1 and others"
this is a no-op for ASCII, but will fail on Latin-1 and others"
| encodedFileName |
| encodedFileName |
encodedFileName := fileName utf8Encoded asString.
encodedFileName := fileName utf8Encoded asString.
^ self new
^ self new
Copier
Copié
Copier
Copié
setContentDisposition: 'form-data;
name="', fieldName, '";
filename="', encodedFileName, '"';
setContentDisposition: 'form-data;
name="', fieldName, '";
filename="', encodedFileName, '"';
entity: entity;
entity: entity;
yourself
yourself
Différences enregistrées
Texte d'origine
Ouvrir un fichier
WIRESHARK CAPTURE, THIS WORKED... PATCH /api/v1/solutions/db1793b901b14b6d93c45dcfc2c15ac4 HTTP/1.1 Host: lvh.me:3000 Content-Type: multipart/form-data; boundary=Ben-Coman-Constant-Boundary-Zero-Diff-For-Testing-Comparison Accept: */* Content-Length: 273 Accept-Encoding: gzip User-Agent: Zinc HTTP Components 1.0 (Pharo/6.0) Authorization: Bearer d264a08c-6bf6-4c3c-93fa-ac3cb3040282 --Ben-Coman-Constant-Boundary-Zero-Diff-For-Testing-Comparison Content-Type: application/octet-stream Content-Length: 13 Content-Disposition: form-data; name="files[]"; filename="x.txt" MY SOLUTION --Ben-Coman-Constant-Boundary-Zero-Diff-For-Testing-Comparison-- ====================================== MODIFIED LIBRARY CODE... ZnMimePart class >> fieldName: fieldName fileName: fileName entity: entity "Pathnames are often silenty encoded using UTF-8, this is a no-op for ASCII, but will fail on Latin-1 and others" | encodedFileName | encodedFileName := fileName utf8Encoded asString. ^ self new setContentDisposition: 'form-data; name="', fieldName, '"; filename="', encodedFileName, '"'; entity: entity; yourself
Texte modifié
Ouvrir un fichier
WIRESHARK CAPTURE, THIS GAVE "500 INTERNAL SERVER ERROR"... PATCH /api/v1/solutions/db1793b901b14b6d93c45dcfc2c15ac4 HTTP/1.1 Host: lvh.me:3000 Content-Type: multipart/form-data; boundary=Ben-Coman-Constant-Boundary-Zero-Diff-For-Testing-Comparison Accept: */* Content-Length: 271 Accept-Encoding: gzip User-Agent: Zinc HTTP Components 1.0 (Pharo/6.0) Authorization: Bearer d264a08c-6bf6-4c3c-93fa-ac3cb3040282 --Ben-Coman-Constant-Boundary-Zero-Diff-For-Testing-Comparison Content-Type: application/octet-stream Content-Length: 13 Content-Disposition: form-data;name="files[]";filename="x.txt" MY SOLUTION --Ben-Coman-Constant-Boundary-Zero-Diff-For-Testing-Comparison-- ====================================== ORIGINAL LIBRARY CODE... ZnMimePart class >> fieldName: fieldName fileName: fileName entity: entity "Pathnames are often silenty encoded using UTF-8, this is a no-op for ASCII, but will fail on Latin-1 and others" | encodedFileName | encodedFileName := fileName utf8Encoded asString. ^ self new setContentDisposition: 'form-data;name="', fieldName, '";filename="', encodedFileName, '"'; entity: entity; yourself
Trouver la différence