Re: Accept headers of the clojure.xml/parse call

2010-07-04 Thread ataggart
This is an issue with the java lib, not clojure. If you look at the source for clojure.xml you'll see the (default) heavy lifting is done with the following fn: (defn startparse-sax [s ch] (.. SAXParserFactory (newInstance) (newSAXParser) (parse s ch))) And the string s is getting resolved som

Accept headers of the clojure.xml/parse call

2010-07-03 Thread Francis
This question was first posted by me on StackOverflow (http:// stackoverflow.com/questions/3169821/accept-headers-of-the-clojure-xml- parse-call). When calling the function clojure.xml/parse with an URI Clojure performs a HTTP GET request to fetch the data. However the HTTP request contains the f