title: how to prevent groovy RESTClient from url encoding a path with %2F codes in it?
body: <p>I have some groovy code to make a GET request against a server:</p>
  
  <pre><code>import groovyx.net.http.RESTClient
  import static groovyx.net.http.ContentType.*
  
  import groovyx.net.http.HTTPBuilder
  
  def server = new RESTClient( 'https://myaccount.cloudant.com'  )
  
  // the id contains a forward slash, i.e. xxxx/yyyy
  
  response = server.get (path: 'aaaa/xxxx%2Fyyyy', 
           contentType: JSON, requestContentType: JSON)
  </code></pre>
  
  <p>However, the following is getting sent to the server:</p>
  
  <pre><code>"GET /aaaa/xxxx%252Fyyyy HTTP/1.1"
  </code></pre>
  
  <p>When it should be this:</p>
  
  <pre><code>"GET /aaaa/xxxx%2Fyyyy HTTP/1.1"
  </code></pre>
  
  <p>It seems like groovy is encoding the path - how can i prevent this?</p>