W3C home > Mailing lists > Public > ietf-http-wg@w3.org > July to September 2015

Re: SCIM thought experiment of draft-snell-search-method-00

From: Phil Hunt <phil.hunt@oracle.com>
Date: Wed, 5 Aug 2015 16:44:55 -0700
Message-Id: <6516C553-A5CE-4A9A-87B1-1BDD133D0106@oracle.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
To: Mark Nottingham <mnot@mnot.net>
Mark,

Thanks for taking a look. 

Yes you are correct about POST. But the downside for a profile like SCIM is having multiple very different protocol operations using the same method. (Which is what SCIM 2 currently ended up doing)

Mime-type is another issue. We defined a mime type for scim that covers the entire spec. Solving the problem changing the operation type with mime type is another way that can work but it now complicated scim mimes (from just one). It also feels like "tunnelling". 

Scim 2 ended up using a schemas attribute with an iana registered urn to do the signalling.

Scim won't necessarily look at this search method right away. I wanted to give the httpbis WG an idea of how search could simplify a restful spec by keeping operation definition simple/consistent and mine type focused on xml vs json rather then tunneling a new protocol method. 

Thanks,

Phil

> On Aug 5, 2015, at 16:05, Mark Nottingham <mnot@mnot.net> wrote:
> 
> Hi Phil,
> 
> Reading that document:
> 
> """
> In contrast, using HTTP POST has the disadvantage of overloading POST to perform another function other than creating new SCIM resources.
> """
> 
> POST's semantics aren't "create a resource" — they're "process this data" with the possible side effect of creating a resource.
> 
> POST can easily dispatch on request characteristics (e.g,. request body media type) to determine what the appropriate action is; there is no requirement that POST map to only one set of semantics per URL.
> 
> Did you consider using a different request media type?
> 
> Regards,
> 
> 
>> On 21 Jul 2015, at 10:42 pm, Phil Hunt <phil.hunt@oracle.com> wrote:
>> 
>> Link as requested by @mnot for the SCIM thought experiment on the user of the HTTP Search draft.
>> 
>> https://tools.ietf.org/html/draft-hunt-scim-search-00
>> 
>> Phil
>> 
>> @independentid
>> www.independentid.com
>> phil.hunt@oracle.com
> 
> --
> Mark Nottingham   https://www.mnot.net/
> 
> 
Received on Thursday, 6 August 2015 01:37:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:46 UTC