[99s-extend] cowboy_rest : PUT and resource_exists vs is_conflict ?

Stéphane Wirtel stephane at wirtel.be
Wed Aug 27 23:41:25 CEST 2014


Hi all,

For the PUT method, the flow is 

resource_exists
if method == PUT then go to the is_conflict function.
In each function, we need to check if the resource already exists or not.

I think we check twice, is it normal?

Thank you,

Stephane

--
Stéphane Wirtel - http://wirtel.be - @matrixise


More information about the Extend mailing list