summaryrefslogtreecommitdiffstats
path: root/src/plugins/hs_apps/http_cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/hs_apps/http_cli.c')
-rw-r--r--src/plugins/hs_apps/http_cli.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/hs_apps/http_cli.c b/src/plugins/hs_apps/http_cli.c
index 3ca86d24673..89eb49c8ec7 100644
--- a/src/plugins/hs_apps/http_cli.c
+++ b/src/plugins/hs_apps/http_cli.c
@@ -387,8 +387,7 @@ hcs_ts_rx_callback (session_t *ts)
goto done;
}
- if (msg.data.target_path_len == 0 ||
- msg.data.target_form != HTTP_TARGET_ORIGIN_FORM)
+ if (msg.data.target_path_len == 0)
{
start_send_data (hs, HTTP_STATUS_BAD_REQUEST);
goto done;