scalaj-http
scalaj-http copied to clipboard
Simple scala wrapper for HttpURLConnection. OAuth included.
I noticed that [here the headers are applied in reverse order](https://github.com/scalaj/scalaj-http/blob/master/src/main/scala/scalaj/http/Http.scala#L350). This may well have further reaching implications, but it seems to do the wrong (or at least an unexpected)...
There was a change introduced after versions 2.2.1 that breaks making a PUT request - the path part of the request is omitted. (This may also be the case for...
I have a lot of functions that process streams. One of them would be `InputStreamUtils.copyBigFile(in:InputStreamProvider,out:OutputStreamProvider)` In order to use the current scalaj api my understanding is that I should do...
This is Needed for REST usage
The following `curl` command works fine against my API: ``` curl -vvvv -X PUT \ "http://localhost:9001/api/v1/events/one/mailers/jYCd?token=bob&rev=1173-eb559d86d2a58000aca5dc87760a1c9a" \ -F "[email protected]" \ -F "[email protected]" ``` Unfortunately I can't seem to build such...
Ideally the HttpResponse would store a reference to HttpRequest so things like the original url could be accessed in methods like throwIf to improve error reporting.
The README has an example of processing an event stream but the parser is given a standard GZIPInputStream, which isn't really suitable. See the "Gzip and Java" section of [this...
Is there a way to close the underlying TCP socket that's been opened by `scalaj-http`? For example, with `HttpUrlConnection` I can do the following: `HttpURLConnection.getInputSteam().close()`. I'm having issues with a...