Timothy Appnel wrote:
> On 1/2/07, Michael Peters <[EMAIL PROTECTED]> wrote:
> 
>> > As I said to him when we had our IRC conversation that day, the main
>> bit
>> > that is missing is dispatch based on MIME types.
>>
>> Well, it lacks being able to dispatch on HTTP request method too. I'm
>> confused
>> about the MIME types bit though. I don't seem to remember how they are
>> associated with REST.
> 
> The idea is that one end point and return a representation of itself
> in different formats based on the HTTP Accept header. This is referred
> to as content negotiation or "conneg" in REST parlance.

Ok, that makes sense and it's what happens now anyways, just not as frequently.
For instance mod_gzip uses those headers to decide whether or not to compress
the outgoing data.

-- 
Michael Peters
Developer
Plus Three, LP


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to