On Nov 12, 8:27 pm, "Per Melin" <[EMAIL PROTECTED]> wrote:
> > Try appending .xml to the path. Alternatively, you could directly
> > specify the Accept header.
>
> And this is how you specify the Accept header to Rack, yes?
>
> request('/reset_password/xxxyyy', :method => 'GET', 'HTTP_ACCEPT' =>
> 'application/xml')

Ah, HTTP_ACCEPT is what I was looking for. Thanks!

:format => 'xml' does not work, and adding .xml gives me no route error
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to