[Ur] Handling POST requests that aren't from forms

Marc Weber marco-oweber at gmx.de
Thu Dec 16 11:04:52 EST 2010


Excerpts from Adam Chlipala's message of Thu Dec 16 16:33:28 +0100 2010:
> > Can a blob be converted to a string?
Have a look at my uw-process library. It contains an example using C ffi
converting a blob into a string. Don't miss the comments which tell you
that #"\0" is converted to "\n" because C strings can't represent them.

So it is possible. But you should be aware of the 0 byte constraint.

Marc Weber



More information about the Ur mailing list