diff options
author | Loïc Hoguin <[email protected]> | 2015-02-04 16:18:28 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2015-02-04 16:18:28 +0100 |
commit | 89c47d3d6edc8aafb4c9c4a5a86fb0239dee8f3a (patch) | |
tree | 3e340804d2417c397c3b9b7f57325fcc26a49a3a /test/http_SUITE_data | |
parent | 3cede06283a2b7b33ec822526341a9261574a2bf (diff) | |
download | cowboy-89c47d3d6edc8aafb4c9c4a5a86fb0239dee8f3a.tar.gz cowboy-89c47d3d6edc8aafb4c9c4a5a86fb0239dee8f3a.tar.bz2 cowboy-89c47d3d6edc8aafb4c9c4a5a86fb0239dee8f3a.zip |
Use cowlib for parsing headers; remove cowboy_http
Diffstat (limited to 'test/http_SUITE_data')
-rw-r--r-- | test/http_SUITE_data/rest_resource_etags.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/http_SUITE_data/rest_resource_etags.erl b/test/http_SUITE_data/rest_resource_etags.erl index 1ea3005..0585761 100644 --- a/test/http_SUITE_data/rest_resource_etags.erl +++ b/test/http_SUITE_data/rest_resource_etags.erl @@ -23,10 +23,10 @@ generate_etag(Req, State) -> {<<"\"etag-header-value\"">>, Req, State}; %% Invalid return values from generate_etag/2. <<"binary-strong-unquoted">> -> - cowboy_error_h:ignore(cowboy_http, quoted_string, 2), + cowboy_error_h:ignore(cow_http_hd, parse_etag, 1), {<<"etag-header-value">>, Req, State}; <<"binary-weak-unquoted">> -> - cowboy_error_h:ignore(cowboy_http, quoted_string, 2), + cowboy_error_h:ignore(cow_http_hd, parse_etag, 1), {<<"W/etag-header-value">>, Req, State} end. |