Commits
Thomas Tornevall authored b92c37d8a5e
Add: authType class for standard authentication with curl auth types included. Update: Authentication data added to wrapperconfig. Update: Throwable codes that was present in 6.0 curl library moved into WrapperConfig. Update: Exception handling that was present in 6.0 curl library moved into WrapperConfig (WrapperConfig will handle all exceptions). Update: Removed CURLOPT_POST from default configuration. Update: Postcontent support with json-transformations. Update: set and getoptions moved into WrapperConfig so each setup can return itself for debugging. Update: Wrapper interface. Add: Custom headers. Update: Request methods are more strict on how they are setup (and switchified). This fixes problems with rest tests that are basically running POST instead of GET-requests. Add: Configurable json content-type (legacy, where application/json; charset=utf-8 is not always accepted - this makes us be able to fall back to non charset setup if needed). Update: ExceptionHandler now sprintifies a more clear error message where the old from 6.0 did not return full strings when remote was misconfigured.