Skip to content

Commit b62ef2b

Browse files
committed
Update the-protocol.mdx
1 parent e6def61 commit b62ef2b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

v2/core-concepts/the-protocol.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This HTML response includes the site assets (CSS, JavaScript) as well as a root
1212

1313
```http
1414
REQUEST
15-
GET: http://example.com/events/80
15+
GET: https://example.com/events/80
1616
Accept: text/html, application/xhtml+xml
1717
1818
RESPONSE
@@ -41,7 +41,7 @@ When the server detects the `X-Inertia` header, instead of responding with a ful
4141

4242
```http
4343
REQUEST
44-
GET: http://example.com/events/80
44+
GET: https://example.com/events/80
4545
Accept: text/html, application/xhtml+xml
4646
X-Requested-With: XMLHttpRequest
4747
X-Inertia: true
@@ -360,15 +360,15 @@ If "flash" session data exists when a `409 Conflict` response occurs, Inertia's
360360

361361
```http
362362
REQUEST
363-
GET: http://example.com/events/80
363+
GET: https://example.com/events/80
364364
Accept: text/html, application/xhtml+xml
365365
X-Requested-With: XMLHttpRequest
366366
X-Inertia: true
367367
X-Inertia-Version: 6b16b94d7c51cbe5b1fa42aac98241d5
368368
369369
RESPONSE
370370
409: Conflict
371-
X-Inertia-Location: http://example.com/events/80
371+
X-Inertia-Location: https://example.com/events/80
372372
```
373373

374374
You can read more about this on the [asset versioning](/v2/advanced/asset-versioning) page.
@@ -387,7 +387,7 @@ The `X-Inertia-Partial-Component` header includes the name of the component that
387387

388388
```http
389389
REQUEST
390-
GET: http://example.com/events
390+
GET: https://example.com/events
391391
Accept: text/html, application/xhtml+xml
392392
X-Requested-With: XMLHttpRequest
393393
X-Inertia: true
@@ -404,8 +404,8 @@ Content-Type: application/json
404404
"props": {
405405
"auth": {...}, // NOT included
406406
"categories": [...], // NOT included
407-
"events": [...], // included
408-
"errors": {} // always included
407+
"events": [...], // Included
408+
"errors": {} // ALWAYS included
409409
},
410410
"url": "/events/80",
411411
"version": "6b16b94d7c51cbe5b1fa42aac98241d5"

0 commit comments

Comments
 (0)