[racket-users] Round-tripping binary data through the web server

2016-11-08 Thread David Storrs
On Tue, Nov 8, 2016 at 6:03 PM, George Neuner > wrote: > Hi David, > > HTTP is printable characters only. In general you need to do something > like base64 encode raw byte data to get it across in any kind JSON wrapping. > > > I'm not messing with XML, but I use the following for binary imagery:

Re: [racket-users] Round-tripping binary data through the web server

2016-11-08 Thread George Neuner
Hi David, HTTP is printable characters only. In general you need to do something like base64 encode raw byte data to get it across in any kind JSON wrapping. I'm not messing with XML, but I use the following for binary imagery: (send/back (if success ; succeeded (

[racket-users] Round-tripping binary data through the web server

2016-11-08 Thread David Storrs
I'm still working with the protocol-buffers code in (planet murphy/protobuf). I want the web server to return a deserialized protocol buffer struct, then have the client deserialize it. I cannot make this work, and the problem is clearly due to the data being mangled by retrieving it from the HTT