Skip to content

Server Sent Events (SSE) #125

Closed Answered by basdijkstra
RothAndrew asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @RothAndrew, thank you for your message.

Would it be enough for you if I would provide a method in the DSL, for the RequestSpecification and a flag in the config to make RestAssured use ResponseHeadersRead instead of ResponseContentRead?

You’re correct that it always uses the latter at the moment because that’s the default for SendAsync():

HttpResponseMessage response = await this.httpClient.SendAsync(request);

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@RothAndrew
Comment options

@basdijkstra
Comment options

@RothAndrew
Comment options

Answer selected by RothAndrew
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants