Robin Bressan

Results 13 comments of Robin Bressan

Hi, by design it is not possible to cancel a HTTP request. It should be possible to fake this behavior by rejecting the request promise but it will be faked...

@rodrix It is not designed to ignore head requests. But it is using https://github.com/BerkeleyTrue/warning, so if you build your project with `NODE_ENV` set to `production`, warning should not be displayed.

Hi, Have you tried to set the correct `Content-Type` header? If you don't, restul.js will assume it is JSON and will set it to `application/json;charset=UTF-8` (see https://github.com/marmelab/restful.js/blob/master/src/model/endpoint.js#L25).

You can use a `requestInterceptor` to deal with the config object forwarded to fetch. This way you should be able to remove the `Content-Type` header.

Hi, No it is not possible, but it is a good idea for a next version!

@passcod Can you better describe your issue? I am not sure to understand what you mean with **what Restful.js is expecting**.

Which version of restful.js do you use? Because in the last version there is no more error triggered for this, only a warning in dev env. Otherwise maybe a `.custom`...

Hi, this is not possible right now. I never had enough time to finish #8 which is outdated now. I have to rewrite it to add detached mode which basically...

You don't need documentation. Take any CSS rule you want to apply, replace : by -, and dots by -dot-, and you get the name of the corresponding universal css...

Any news on this @jpetitcolas? This is a major drawback for production usage...