Avatar for the MystenLabs user
MystenLabs
walrus-sites
BlogDocsChangelog

feat: support any http header

#221Merged
Comparing
210-support-any-http-header
(
2dcf8cf
) with
main
(
bcf47ce
)
CodSpeed Performance Gauge
-1%
Improvements
0
Regressions
0
Untouched
4
New
0
Dropped
0
Ignored
5

Benchmarks

Passed

decompress deflate encoding
portal/common/lib/decompress_data.bench.ts::decompressData::decompress deflate encoding
CodSpeed Performance Gauge
0%
248.6 µs
248.3 µs
decompress gzip encoding
portal/common/lib/decompress_data.bench.ts::decompressData::decompress gzip encoding
CodSpeed Performance Gauge
0%
253.7 µs
253.5 µs
decompress plaintext encoding
portal/common/lib/decompress_data.bench.ts::decompressData::decompress plaintext encoding
CodSpeed Performance Gauge
-1%
15.9 µs
16.1 µs
fetchResource: fetch the flatland walrus site
portal/common/lib/resource.bench.ts::Resource fetching::fetchResource: fetch the flatland walrus site
CodSpeed Performance Gauge
-3%
9.1 ms
9.4 ms

Ignored

fetchPage: fetch the flatland walrus siteIgnored
portal/common/lib/page_fetching.bench.ts::Page fetching::fetchPage: fetch the flatland walrus site
CodSpeed Performance Gauge
-42%
23.9 ms
41.1 ms
fetchPage: fetch the flatlander walrus siteIgnored
portal/common/lib/page_fetching.bench.ts::Page fetching::fetchPage: fetch the flatlander walrus site
CodSpeed Performance Gauge
-3%
12.2 ms
12.5 ms
fetchPage: fetch the landing page walrus siteIgnored
portal/common/lib/page_fetching.bench.ts::Page fetching::fetchPage: fetch the landing page walrus site
CodSpeed Performance Gauge
+4%
13.3 ms
12.8 ms
fetchResource: fetch the flatlander walrus siteIgnored
portal/common/lib/resource.bench.ts::Resource fetching::fetchResource: fetch the flatlander walrus site
CodSpeed Performance Gauge
-12%
19.8 ms
22.5 ms
fetchResource: fetch the landing page walrus siteIgnored
portal/common/lib/resource.bench.ts::Resource fetching::fetchResource: fetch the landing page walrus site
CodSpeed Performance Gauge
-50%
9.7 ms
19.3 ms

Commits

Click on a commit to change the comparison range
Base
main
bcf47ce
-82%
Remove content type from Resource and include HttpHeaders
12ef9f9
5 months ago
by Tzal3x
+47%
Fix PTB builder - callArg::object(<headers>)
e07d5da
5 months ago
by Tzal3x
+12%
Contract: empty vec as headers default & create fn add_header
fcdbc49
5 months ago
by Tzal3x
+50%
Use tempfile for mocking a ws-config.json in the test_read_ws_config
7836a93
5 months ago
by Tzal3x
-49%
Use ws_config in ResourceManager - WIP
eb82d9b
5 months ago
by Tzal3x
-1%
Parse headers from config in read_resource
79f2eac
5 months ago
by Tzal3x
0%
feat(builder): add new move calls from rust (#222) Signed-off-by: giac-mysten <giacomo@mystenlabs.com> This is done to assist the implementation of #221
cd59000
5 months ago
by giac-mysten
+4%
Use anyhow::Result instead of Box<dyn Error>
a1b55e0
5 months ago
by Tzal3x
+45%
Remove content_encoding from function parameters
aac5fe9
5 months ago
by Tzal3x
+82%
Merge branch 'develop' into 210-support-any-http-header
5f04810
5 months ago
by Tzal3x
+1%
Merge branch 'develop' into 210-support-any-http-header
fa6bf75
5 months ago
by Tzal3x
-125%
Sort cargo dependencies
30e351d
5 months ago
by Tzal3x
+13%
feat(portal): parse HTTP headers from resource (#229) Updates the portal to align with the changes in #210. In detail, parse the resource headers, replacing the hard-coded content-type and content-encoding with the ones parsed from the contract. Also, redeploy the landing page and flatland, to align with the new walrus sites contract.
2dcf8cf
4 months ago
by Tzal3x
Home Terms PrivacyDocs