Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

Commit

Permalink
allow for other proxies in the via header test (#1603)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaoWen authored Jul 5, 2022
1 parent 41fbafa commit b87c16b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions waiter/integration/waiter/basic_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,8 @@
_ (assert-response-status response http-200-ok)
body-json (try-parse-json (str body))
expected-via-prefix "HTTP/1.1 waiter/"]
(is (str/starts-with? (str (get-in body-json ["headers" "via"])) expected-via-prefix) (str body))
(is (str/starts-with? (str (get headers "via")) expected-via-prefix) (str headers))))
(is (str/includes? (str (get-in body-json ["headers" "via"])) expected-via-prefix) (str body))
(is (str/includes? (str (get headers "via")) expected-via-prefix) (str headers))))

(testing "query-string with special characters"
(log/info "Basic test for query-string with special characters")
Expand Down

0 comments on commit b87c16b

Please sign in to comment.