How to advertise acceptable content types sent via POST or PUT
"S. Mike Dierken" <[email protected]> Fri, 10 Jan 2003 15:48:48 -0800
| Newsgroups | gmane.comp.web.services.rest,gmane.comp.web.general |
|---|---|
| Message-ID | <[email protected]> |
----- Original Message ----- From: "S. Alexander Jacobson" <[email protected]> > Why not just have the server return an > accept: header with MIME types describing what the > client is allowed to post? The immediate reason is that Accept: is a request header, not a response header. But since I don't know of a standard way for a resource to advertise its various representations or to advertise its acceptable content, I think a simple approach like you suggest sounds neat. This should probably be posted to www-talk also Note: there is an Allow response header listing the supported methods... ------------------------ Yahoo! Groups Sponsor ---------------------~--> Flexible Keyboard is the ideal accessory for PDA users that are on the move. http://us.click.yahoo.com/dCBVZC/WnCFAA/xGHJAA/W6uqlB/TM ---------------------------------------------------------------------~-> To unsubscribe from this group, send an email to: [email protected] Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/