-
### Describe the problem
I want to do a `+server.ts` with a `POST` handler that downloads a file (a JSON backup).
And I want it to be accessible without client-side javascript:
```html
…
-
If more than one language has been set up, do content negotiation.
Look at: https://stackoverflow.com/questions/38158156/htaccess-rewrite-accept-language
https://www.w3.org/Protocols/rfc2616/rfc26…
-
I think the Response class should support content type negotiation (Vary: Accept). This makes the content type output driven by the request as it should be. This could be an optional call but even i…
-
To accommodate diverse client preferences, I propose introducing content negotiation. This feature allows clients to request their preferred content format (e.g., JSON, XML, HTML) via the Accept heade…
-
**Issue by [sirthias](https://github.com/sirthias)**
_Monday Mar 02, 2015 at 10:22 GMT_
_Originally opened as https://github.com/akka/akka/issues/16974_
---
Currently the marshalling infrastructure…
ktoso updated
7 years ago
-
Any idea how to add content-negotiation to an endpoint, in a way similar to what is described here for flask-restful:
https://flask-restful.readthedocs.io/en/latest/extending.html#content-negotiation…
-
If an API handles multiple types of request body format, or returns multiple response body formats, it is likely to be performing [server-driven content-type negotation](https://developer.mozilla.org/…
-
We should use a proper library for content negotation.
-
-
Right now it's based on the `?json=1` query string, which is convenient, but also slightly wrong; it's a workaround for people to manually type into their URL bar. It _should_ be based on the `Accept…
glyph updated
8 years ago