Skip to content

Commit 686906a

Browse files
authored
fix: correct Content-Length headers in email forward webhook fixtures (#926)
Fixes incorrect Content-Length headers in three email forward webhook fixtures that were causing test failures in client libraries.
1 parent c7489ad commit 686906a

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

fixtures/v2/.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Preserve line endings in HTTP fixture files
2+
# These files contain raw HTTP requests/responses. Treat them as binary
3+
# to prevent Git from converting line endings.
4+
**/*.http binary

fixtures/v2/webhooks/email_forward.create/example.http

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ user-agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf
66
content-type: application/json
77
connect-time: 1
88
via: 1.1 vegur
9-
content-length: 561
9+
content-length: 560
1010
total-route-time: 0
1111
connection: keep-alive
1212

fixtures/v2/webhooks/email_forward.delete/example.http

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
POST /1djlwbe1 HTTP/1.1
22
host: example.com
3-
content-length: 551
3+
content-length: 550
44
total-route-time: 0
55
via: 1.1 vegur
66
accept-encoding: gzip

fixtures/v2/webhooks/email_forward.update/example.http

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
POST /1djlwbe1 HTTP/1.1
22
host: example.com
3-
content-length: 551
3+
content-length: 550
44
accept-encoding: gzip
55
x-request-id: 42f14e6a-21e4-4942-9556-682298b5a852
66
user-agent: DNSimple-Webhook-Notifier/f152781ec87b328bf9edcaa760f0e5342bdd15cf

0 commit comments

Comments
 (0)