Skip to content

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

Merged
alukach merged 1 commit into
refactor/simplify-cf-workersfrom
feat/transport-layer-config
May 21, 2026
Merged

feat(cf-workers): add CORS utility and auto-decode request paths#37
alukach merged 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>
@github-actions github-actions Bot added the feat label Apr 16, 2026
@alukach alukach merged commit 61eb37a into refactor/simplify-cf-workers May 21, 2026
8 of 12 checks passed
@alukach alukach deleted the feat/transport-layer-config branch May 21, 2026 05:04
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