aboutsummaryrefslogtreecommitdiff
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* Code review updatesSam Guymer2018-05-215-23/+362
| | | | Start the test server before each backend test
* Code review updatesSam Guymer2018-05-207-29/+80
| | | | | | Remove tests sub project, all tests are now in core. Remove TestStreamingBackend, StreamingTest now has the required abstract methods.
* Move backend tests into their projectsSam Guymer2018-05-197-1/+654
| | | | | | | | | | | Instead of having a single project which tests all backends, each backend now implements a http test trait along with a streaming test trait if it supports streaming. The test http server has been moved into its own project and is started automatically before running a backends test. This allows each backend to be tested without the possibility of dependency eviction from another backend or the test http server. It also has the side effect of parallelizing the tests providing a speed up when run with multiple cores.
* Extract MonadAsyncError implementationsSam Guymer2018-05-182-0/+41
| | | | | Extract MonadAsyncError implementations into their own projects to allow reuse by multiple backends.
* Set `followRedirects` explicitly, and disable redirects if `maxRedirects <= 0`n4to42018-04-241-1/+4
|
* Make max redirects configurablen4to42018-04-232-2/+9
|
* Update SBT, use shields.ioadamw2018-03-281-1/+2
|
* Added overloaded thenRespondWrapped which can return response monad but ↵stub-response-from-requestPaweł Stawicki2018-03-272-0/+16
| | | | takes request as parameter
* Adding https.proxyHost as a fallback when looking for proxy settingsadamw2018-03-081-1/+2
|
* Add a "RelaxedWithBrackets" query fragment encodingadamw2018-03-062-2/+17
|
* #66: docs on response replacing the whole specificationadamw2018-03-051-0/+5
|
* Remove the problematic constructoradamw2018-03-021-3/+0
|
* Additional asFile() constructoradamw2018-03-012-1/+6
|
* New scalafmt settingsadamw2018-02-2017-367/+167
|
* Brave backendadamw2018-02-201-1/+3
|
* Reformatadamw2018-01-291-1/+3
|
* Renaming the new stub methodadamw2018-01-292-9/+6
|
* Added test for respondWithMonad happy paththen-respond-futurePaweł Stawicki2018-01-291-0/+10
|
* Added back the thenRespond(resp: => Response) methodPaweł Stawicki2018-01-282-5/+10
|
* Docs for thenResponseWithMonad, and a little code cleanup in testPaweł Stawicki2018-01-241-10/+7
|
* Allow SttpBackendStub to accept monad with response, not to hold thread when ↵Paweł Stawicki2018-01-242-17/+52
| | | | using e.g. Futures
* rename message to statusText in Responseintracer2018-01-111-1/+1
|
* add status message to Response #59intracer2018-01-096-6/+10
|
* Remove dependence on StringTokenizerJosh Lemer2017-12-291-10/+3
|
* #56 Minor change in the try backend's class nameadamw2017-12-271-1/+1
|
* Add TryHttpUrlConnection testsJosh Lemer2017-12-241-2/+3
|
* Rename TryBackend factory object to TryHttpURLConnectionBackenJosh Lemer2017-12-241-4/+3
|
* Add TryMonad, implement a delegating TryBackendJosh Lemer2017-12-232-0/+37
|
* Better not found message if no handlers match in the stub backendadamw2017-12-211-5/+7
|
* Support both arrays and interables in the uri interpolatoradamw2017-12-182-2/+6
|
* #53: using proper encoding when reading the response bodyadamw2017-12-062-8/+27
|
* Update sbtadamw2017-11-301-8/+4
|
* When stubbing using with thenRespondWithCode, treat 2xx as a success and ↵Dean Povey2017-11-292-4/+58
| | | | return Right(body)
* Validating that the port is specified only once when interpolating a URIadamw2017-11-273-4/+29
|
* Basic validation of a constructed URIadamw2017-11-273-1/+24
|
* Properly handling ipv6 in the uri interpolatoradamw2017-11-272-9/+35
|
* Properly encoding ipv6 addressesadamw2017-11-272-3/+26
|
* ipv4 testsadamw2017-11-251-0/+4
|
* Special case in the uri interpolator which allows embedding host with the ↵adamw2017-11-252-3/+22
| | | | port included
* Adding tests for optional ports in uri interpolatoradamw2017-11-251-1/+3
|
* Properly encode IDN domain namesadamw2017-11-252-2/+4
|
* Removing extra version fileadamw2017-11-221-1/+0
|
* Adding a Uri.toJavaUri methodadamw2017-11-222-0/+7
|
* #48: %-encode plus in queriesadamw2017-11-212-4/+11
|
* Add the possibility for monads to recover from errorsadamw2017-11-161-0/+16
|
* #45: add matching on any requestadamw2017-11-141-0/+8
|
* Add a test to convert a java URI to Uri & improve implementationadamw2017-11-142-9/+8
|
* Simplifying the internal implementation of the testing stubadamw2017-11-141-41/+20
|
* Testing docsadamw2017-11-141-3/+33
|
* Merge pull request #46 from Iryna-/uri-enhancementAdam Warski2017-11-141-1/+12
|\ | | | | Uri enhancement