-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(exposeFolder): handle URI encoding
- Loading branch information
1 parent
532347b
commit e1cc0e3
Showing
7 changed files
with
48 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This is an example. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Snapshot report for `src/tests/writeCompressibleBody.js` | ||
|
||
The actual snapshot is saved in `writeCompressibleBody.js.snap`. | ||
|
||
Generated by [AVA](https://avajs.dev). | ||
|
||
## writes body in br | ||
|
||
> matches | ||
`HTTP/1.1 200 OK␍␊ | ||
content-encoding: br␍␊ | ||
Connection: keep-alive␍␊ | ||
Transfer-Encoding: chunked␍␊ | ||
␍␊ | ||
eDQo=GwwA+CUAShBDioV6/gM=DQo=MA0KDQo=` | ||
|
||
## writes uncompressed body if no compatible acceptable encoding found | ||
|
||
> matches | ||
`HTTP/1.1 200 OK␍␊ | ||
Content-Length: 13␍␊ | ||
Connection: keep-alive␍␊ | ||
␍␊ | ||
Response body` |
Binary file not shown.