Hi,

I need to create something like this:

<?xml version="1.0" encoding="UTF-8"?>
<Container>
  <id>aQlfVHX+qPM</id>
  <lifetime>2009-09-19T08:14:55Z</lifetime>
</Container>

The response should contain the next headers:

Content-Type=`application/vnd.3gpp+xml`
Authentication-Info={rspauth=`xxxxxxxxxxx...xxxxxxxxxxx`,qop=`auth-int`,cnonce=`xxxxxxxxxxxxxxxxxx....xxxxxxxxxxxxx`,nc=`000
00001`}

How can I do that?

I always see {"Cache-Control"=>"no-cache",
"Content-Type"=>"application/xml"}
when I print the headers...

I can use xml builder ok to generate the xml, but I have the problem
with the headers.

Thanks.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to