Skip to content
This repository was archived by the owner on Nov 5, 2025. It is now read-only.

[NEW] Add support for the "encoding" option in HTTP requests#321

Merged
d-gubert merged 1 commit intobetafrom
add-encoding-option
Sep 23, 2020
Merged

[NEW] Add support for the "encoding" option in HTTP requests#321
d-gubert merged 1 commit intobetafrom
add-encoding-option

Conversation

@shiqimei
Copy link
Copy Markdown
Contributor

@shiqimei shiqimei commented Sep 23, 2020

What? ⛵

Add a new optional property encoding to the interface IHttpRequest

Why? 🤔

Make sure we can using http.get to download binary data correctly.

Links 🌎

https://open.rocket.chat/group/t9xgtnadgqwf3xkzh?msg=x5EsHiqtzv7rJj3qR (Private)

PS 👀

The PR on the RocketChat side: RocketChat/Rocket.Chat#19002

@codecov
Copy link
Copy Markdown

codecov bot commented Sep 23, 2020

Codecov Report

Merging #321 into beta will increase coverage by 1.95%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             beta     #321      +/-   ##
==========================================
+ Coverage   50.80%   52.76%   +1.95%     
==========================================
  Files          75       83       +8     
  Lines        2850     2968     +118     
  Branches      433      433              
==========================================
+ Hits         1448     1566     +118     
  Misses       1402     1402              
Impacted Files Coverage Δ
src/server/storage/index.ts 100.00% <0.00%> (ø)
src/server/managers/index.ts 100.00% <0.00%> (ø)
src/server/marketplace/license/index.ts 100.00% <0.00%> (ø)
src/server/bridges/index.ts 100.00% <0.00%> (ø)
src/server/logging/index.ts 100.00% <0.00%> (ø)
src/server/compiler/index.ts 100.00% <0.00%> (ø)
src/server/accessors/index.ts 100.00% <0.00%> (ø)
src/server/errors/index.ts 100.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update eb80e2d...884a1af. Read the comment docs.

@shiqimei shiqimei requested a review from d-gubert September 23, 2020 16:15
@d-gubert d-gubert changed the title [NEW] Add encoding option for http accessor [NEW] Add support for the "encoding" option in HTTP requests Sep 23, 2020
@d-gubert d-gubert merged commit 99f4757 into beta Sep 23, 2020
@d-gubert d-gubert deleted the add-encoding-option branch September 23, 2020 19:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants