rest-gradle-plugin icon indicating copy to clipboard operation
rest-gradle-plugin copied to clipboard

Rest endpoint that serves up a file; how to handle contentTypes?

Open davidhatten opened this issue 8 years ago • 5 comments

Hi, so I'm using your plugin to download files from Nexus. I can hit the /resolve endpoint just fine, but when trying to hit /artifact/maven/content (see here: https://repository.sonatype.org/nexus-restlet1x-plugin/default/docs/path__artifact_maven_content.html) I can't seem to get it to work. Most of the time it hangs and then fails because it runs out of heap space.

Is there some configuration I'm overlooking? Or is there maybe some task/class I can create to handle the download of the output of that rest request?

Thanks.

davidhatten avatar Nov 05 '15 21:11 davidhatten