Diff
checker
Text
Text
Images
Documents
Excel
Folders
Legal
Enterprise
Desktop
Pricing
Sign in
Download Diffchecker Desktop
Compare text
Find the difference between two text files
Tools
History
Real-time editor
Hide unchanged lines
Disable line wrap
Layout
Split
Unified
Diff precision
Smart
Word
Char
Syntax highlighting
Choose syntax
Ignore
Transform text
Go to first change
Edit input
Diffchecker Desktop
The most secure way to run Diffchecker. Get the Diffchecker Desktop app: your diffs never leave your computer!
Get Desktop
Untitled diff
Created
8 years ago
Diff never expires
Clear
Export
Share
Explain
7 removals
Lines
Total
Removed
Characters
Total
Removed
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
34 lines
Copy
3 additions
Lines
Total
Added
Characters
Total
Added
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
34 lines
Copy
Copy
Copied
Copy
Copied
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: */*
Copy
Copied
Copy
Copied
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
Copy
Copied
Copy
Copied
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--
======================================
======================================
Copy
Copied
Copy
Copied
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
Copy
Copied
Copy
Copied
setContentDisposition: 'form-data;
name="', fieldName, '";
filename="', encodedFileName, '"';
setContentDisposition: 'form-data;
name="', fieldName, '";
filename="', encodedFileName, '"';
entity: entity;
entity: entity;
yourself
yourself
Saved diffs
Original text
Open file
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
Changed text
Open file
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
Find difference