Avatar for the MystenLabs user
MystenLabs
walrus-sites
BlogDocsChangelog

fix(portal): add content type headers for RedirectResponse

#330Closed
Comparing
alextzimas/add-headers-for-ws-link-redirect-contents
(
e145b0a
) with
main
(
f83a9c4
)
CodSpeed Performance Gauge
+1%
Untouched
3

Benchmarks

Passed

decompress gzip encoding
portal/common/lib/decompress_data.bench.ts::decompressData::decompress gzip encoding
CodSpeed Performance Gauge
+1%
255.3 µs253.2 µs
decompress deflate encoding
portal/common/lib/decompress_data.bench.ts::decompressData::decompress deflate encoding
CodSpeed Performance Gauge
+1%
249.1 µs247.5 µs
decompress plaintext encoding
portal/common/lib/decompress_data.bench.ts::decompressData::decompress plaintext encoding
CodSpeed Performance Gauge
0%
16 µs15.9 µs

Commits

Click on a commit to change the comparison range
Base
main
f83a9c4
+0.6%
fix(portal): add content type headers for RedirectResponse In the documentation we say that we support image files but this is not specified in the redirect response headers. As a result, the browser doesn't know how to process the file exactly, resulting in the images not loading in various html tags.
e145b0a
9 months ago
by Tzal3x
© 2025 CodSpeed Technology
Home Terms Privacy Docs