Re: Rest plugin and binary data

2008-06-24 Thread Jeromy Evans
Mike Watson wrote: Hi Jeromy, Please ignore my other email, I was being a dumb-ass. Thanks heaps for the tips, I managed to get this working today. Mike Good to hear. Sorry I hadn't got back to you. regards, Jeromy Evans -

Re: Rest plugin and binary data

2008-06-24 Thread Mike Watson
Hi Jeromy, Please ignore my other email, I was being a dumb-ass. Thanks heaps for the tips, I managed to get this working today. Mike 2008/6/20 Jeromy Evans <[EMAIL PROTECTED]>: > Mike Watson wrote: >> >> Hi Folks, >> >> I'm trying to figure out how to return binary data from the REST plugin. >

Re: Rest plugin and binary data

2008-06-22 Thread Mike Watson
Hi Jeromy, Thanks for the response, that's really helpful. Could you possibly provide a little bit more detail though as I haven't been able to get this working yet. This might seem like a stupid question, but in your code snippet below where you have: // create the stream Where does the output

Re: Rest plugin and binary data

2008-06-19 Thread Jeromy Evans
Mike Watson wrote: Hi Folks, I'm trying to figure out how to return binary data from the REST plugin. I'd like to be able to return images that are generated on the fly by a REST request but looking at ContentTypeHandlerManager, it assumes that we'll only ever want to return a string and so pas

Rest plugin and binary data

2008-06-19 Thread Mike Watson
Hi Folks, I'm trying to figure out how to return binary data from the REST plugin. I'd like to be able to return images that are generated on the fly by a REST request but looking at ContentTypeHandlerManager, it assumes that we'll only ever want to return a string and so passes a StringWriter as