Closed picimako closed 1 year ago
Code completion for Content-Type header value matchers.
withHeaders()
Content-Type
stubFor( get(urlEqualTo("/some/thing")) .withHeader("Content-Type", equalTo("application/x-www-form-urlencoded")) .willReturn(aResponse()) );
Completed in the Java DSL on release branch.
Completed in the JSON DSL on release branch.
Summary
Code completion for Content-Type header value matchers.
Tasks
withHeaders()
calls for theContent-Type
header, like below:Resources