On Wed, Jun 16, 2010 at 6:21 PM, Timothy Washington <[email protected]> wrote:
> Hey all, something very weird happens when trying to use the http-agent. If
> I execute a) or b) in a browser, I get the desired result XML.
> a) http://RESTful/path/to/xml
> b) http://RESTful/path/to/xml?_wrap=no&_query=declare default element
> namespace 'com/interrupt/bookkeeping/users';//user[ @id='one']

It's hard to say without the specific error you're seeing and what
service you're hitting, but one technique I've used for debugging HTTP
calls is to setup netcat on another port.  Then make the same requests
with the browser and library to the new port and compare netcat's
output.  Perhaps they are escaping the paths differently.  Cheers,

Jim

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to