Re: Accept: application/json
Hi ! You may have a look here : http://wiki.restlet.org/docs_1.2/13-restlet/27-restlet/130-restlet.html Cheers, Rémi On Wed, Mar 18, 2009 at 07:25, Donald S Strong < donald.str...@transport.vic.gov.au> wrote: > Hi all, > > I want to set the "Accept" request header but I am frustrated in my > attempts. > > When I try to set the headers in the request the HttpConverter informs me: > > Addition of the standard header "Accept" is not allowed. Please use > the Restlet API instead. > > ... but I cannot find where in the Restlet API that I can set the "Accept" > header. > > > Could someone please point me to the appropriate place in the > documentation. > > Regards > Donald. > > ** > Any personal or sensitive information contained in this email and > attachments must be handled in accordance with the Victorian Information > Privacy Act 2000, the Health Records Act 2001 or the Privacy Act 1988 > (Commonwealth), as applicable. > > This email, including all attachments, is confidential. If you are not the > intended recipient, you must not disclose, distribute, copy or use the > information contained in this email or attachments. Any confidentiality or > privilege is not waived or lost because this email has been sent to you in > error. If you have received it in error, please let us know by reply > email, delete it from your system and destroy any copies. > ** > > -- > > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1345839 > -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1346127
Re: Accept: application/json
Hi ! You may have a look here : http://wiki.restlet.org/docs_1.2/13-restlet/27-restlet/130-restlet.html Cheers, Rémi On Wed, Mar 18, 2009 at 07:25, Donald S Strong < donald.str...@transport.vic.gov.au> wrote: > Hi all, > > I want to set the "Accept" request header but I am frustrated in my > attempts. > > When I try to set the headers in the request the HttpConverter informs me: > > Addition of the standard header "Accept" is not allowed. Please use > the Restlet API instead. > > ... but I cannot find where in the Restlet API that I can set the "Accept" > header. > > > Could someone please point me to the appropriate place in the > documentation. > > Regards > Donald. > > ** > Any personal or sensitive information contained in this email and > attachments must be handled in accordance with the Victorian Information > Privacy Act 2000, the Health Records Act 2001 or the Privacy Act 1988 > (Commonwealth), as applicable. > > This email, including all attachments, is confidential. If you are not the > intended recipient, you must not disclose, distribute, copy or use the > information contained in this email or attachments. Any confidentiality or > privilege is not waived or lost because this email has been sent to you in > error. If you have received it in error, please let us know by reply > email, delete it from your system and destroy any copies. > ** > > -- > > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1345839 > -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1346125
Accept: application/json
Hi all, I want to set the "Accept" request header but I am frustrated in my attempts. When I try to set the headers in the request the HttpConverter informs me: Addition of the standard header "Accept" is not allowed. Please use the Restlet API instead. ... but I cannot find where in the Restlet API that I can set the "Accept" header. Could someone please point me to the appropriate place in the documentation. Regards Donald. ** Any personal or sensitive information contained in this email and attachments must be handled in accordance with the Victorian Information Privacy Act 2000, the Health Records Act 2001 or the Privacy Act 1988 (Commonwealth), as applicable. This email, including all attachments, is confidential. If you are not the intended recipient, you must not disclose, distribute, copy or use the information contained in this email or attachments. Any confidentiality or privilege is not waived or lost because this email has been sent to you in error. If you have received it in error, please let us know by reply email, delete it from your system and destroy any copies. ** -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1345839