From: Michael Boutros Date: 2007-08-03T03:49:33+09:00 Subject: WSSE Headers in Net::HTTP Hello all! I am creating an API library for Pownce in Ruby. It's hard because there is no documentation whatsoever, only the hard work done by those working on Python and ColdFusion versions. It is a pretty long file, so I've put it up on pastie (http://pastie.caboo.se/84428). The server check and login are working great and I'm sucessfully getting a token etc., but my problem comes starting with view_notes. The API must create a WSSE token to be sent along under the name 'auth'. I am creating my WSSE header in generate_wsse, and from all I can see it looks right. But, instead of my response's body being the notes, it's the following error with a 401 error: [code=]Unable to parse WSSE header: expected string or buffer[/code] Now, I don't know if this means that it's unable to parse the header because it didn't get sent, or it's invalid, or whatever else there may be. And so I appeal to you Ruby-ists, hoping that someone else has had this issue! Thanks, Michael Boutros -- Posted via http://www.ruby-forum.com/.