mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-08 06:28:33 +00:00
HTTP stream enhancements (#6077)
* feat: add stop request button in api url bar * docs: add farsi translation * fix: handle escaped forward slashes by fast-json-format library upgrade * refactor: change ui to use one from Websockets * chore: cleanup * fix: lint issues * Replace IconPlayerStop with IconSquareRoundedX * update json request and response formatting logic * chore: format changes * chore: remove un-needed diffs * chore: sanitize * bugfix(#5939): curl import fails for custom content-types * chore: remove un-needed diffs * chore: enhance response handling for streaming * fix: disable requestid check for tests and assertions to be updated after streaming result * chore: housekeeping * fix: streamline loading and cancel request icon logic * chore: formatting * fix: multiple co-pilot changes * fix: handle in folders * feat: add WaitGroup utility for managing concurrent tasks * refactor: remove WaitGroup utility and clean up network IPC logic * refactor: remove unused setTimeout import and clean up post script execution * refactor: clean up post-response script execution logic * undiff * re-align * refactor: streamline post-response script execution - Cleaned up formatting and improved readability of the post-response script execution logic. - Consolidated parameters in function calls for consistency. * fix: keep original dataBuffer for saving response --------- Co-authored-by: adarshajit <adarshajit@gmail.com> Co-authored-by: sajadoncode <sajadoncode@gmail.com> Co-authored-by: lohit-bruno <lohit@usebruno.com> Co-authored-by: Bijin A B <bijin@usebruno.com> Co-authored-by: Pragadesh-45 <temporaryg7904@gmail.com> Co-authored-by: Anoop M D <anoop@usebruno.com> Co-authored-by: Anoop M D <anoop.md1421@gmail.com> Co-authored-by: Dawid Góra <dawidgora@icloud.com>
This commit is contained in:
committed by
GitHub
parent
fc5093eab4
commit
efad149afc
@@ -13,6 +13,7 @@ post {
|
||||
body:json {
|
||||
{
|
||||
"bigint": 1736184243098437392,
|
||||
"unicode": ["\u4e00","\u4e8c","\u4e09"]
|
||||
"unicode": ["\u4e00","\u4e8c","\u4e09"],
|
||||
"forwardslashes": "\/url\/path\/"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,6 +35,9 @@ test.describe.serial('JSON Response Formatting', () => {
|
||||
await expect(responseBody).toContainText('一');
|
||||
await expect(responseBody).toContainText('二');
|
||||
await expect(responseBody).toContainText('三');
|
||||
|
||||
// The response should handle escaped forward slashes
|
||||
await expect(responseBody).toContainText('/url/path/');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user