Skip to content

feat(cf-workers): add CORS utility and auto-decode request paths#37

Open
alukach wants to merge 1 commit into
refactor/simplify-cf-workersfrom
feat/transport-layer-config
Open

feat(cf-workers): add CORS utility and auto-decode request paths#37
alukach wants to merge 1 commit into
refactor/simplify-cf-workersfrom
feat/transport-layer-config

Conversation

@alukach
Copy link
Copy Markdown
Member

@alukach alukach commented Apr 16, 2026

Summary

  • add_cors_headers() sets permissive CORS headers for browser-accessible S3 proxies
  • RequestParts::from_web_sys() now percent-decodes the URL path automatically
  • Both eliminate common boilerplate patterns in consumer apps

Test plan

  • cargo check --target wasm32-unknown-unknown -p multistore-cf-workers passes
  • All native workspace tests pass

🤖 Generated with Claude Code

- add_cors_headers() sets permissive CORS headers for browser-accessible
  S3-compatible read-only proxies
- RequestParts::from_web_sys() now percent-decodes the URL path
  automatically

These eliminate two common boilerplate patterns in consumer apps.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant