You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.
I have a Tyrus based Java websocket client. When attempting to make a connection like:
server.expect().get().withPath("/websocket").andUpgradeToWebSocket().open())
The client throws a handshake exception:
When I attempt to mock out the HTTP side with a 101 response like:
server.expect().withPath("/websocket").andReturn(101, "").always();
It bombs because of a null upgrade header:
Caused by: org.glassfish.tyrus.core.HandshakeException: Invalid Upgrade header value: "null".
I couldn't find any way in
ResponseProvider
to set headers, only status and body content.Thanks for a great project!
The text was updated successfully, but these errors were encountered: