Re: [w3ctag/design-reviews] Web Share Target API (#221)

We are proposing to initially ship only the title/text/URL share target, without files.

> Further, as these request may mutate state at the dispatch site, should they not be sent as `POST`s?

I hadn't considered this. The proposal was to exclusively support `GET` requests for the initial version without files, using encoding consistent with `<form method="GET">`: [Mutate action URL](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#submit-mutate-action).

The intention for `POST` would be to use `multipart/form-data` only, like FormData ([MDN](https://developer.mozilla.org/en-US/docs/Web/API/FormData)). Sharing files would only be supported with `POST`.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/221#issuecomment-400453315

Received on Tuesday, 26 June 2018 20:36:31 UTC