Do not, ever, ever, ever, register base types as resources, it'll lead you to break an arm and leg, be unhappy and probably sterile and will lead to your disappearance in a quantum singularity.
You could try to register the ApplicationOctetStreamCodec with a */* media type for the resource type you want, and use Post(Stream incoming), that may work, or at least there's nothing in the code that ought to make it not work.
Seb
________________________________________
From: open...@googlegroups.com [open...@googlegroups.com] on behalf of Jørn Wildt [j...@fjeldgruppen.dk]
Sent: 10 January 2012 21:13
To: OpenRasta
Subject: [openrasta] Re: Accessing raw POST data