Skip to content

2.0.0

Compare
Choose a tag to compare
@rhatherall rhatherall released this 25 Nov 21:39
· 48 commits to develop since this release

New Features

  • Dynamic response stubs #40
WebMock.StubRequest('*', '*')
  .ToRespondWith(
    procedure (const ARequest: IWebMockHTTPRequest;
               const AResponse: IWebMockResponseBuilder)
    begin
      AReponse
        .WithStatus(202)
        .WithHeader('header-1', 'a-value')
        .WithBody('Some content...');
    end
  );

Fixed Bugs

  • Unsupported Authorisation Scheme error when setting Authorization header. #35
  • Repeated calls to stubs with content causes exception. #33

Cleanup

  • Remove packages for Delphinus installation. #39
  • Remove Delphi. unit prefix. #38