Skip to content

Commit

Permalink
[openhabcloud] Send the correct response status text (#17994)
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Cunningham <[email protected]>
  • Loading branch information
digitaldan authored Dec 28, 2024
1 parent c21122a commit e2571d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ private void handleRequestEvent(JSONObject data) {
responseJson.put("id", requestId);
responseJson.put("headers", getJSONHeaders(response.getHeaders()));
responseJson.put("responseStatusCode", response.getStatus());
responseJson.put("responseStatusText", "OK");
responseJson.put("responseStatusText", response.getReason());
socket.emit("responseHeader", responseJson);
logger.trace("Sent headers to request {}", requestId);
logger.trace("{}", responseJson.toString());
Expand Down

0 comments on commit e2571d6

Please sign in to comment.