Home
last modified time | relevance | path

Searched refs:response_str (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/response/
H A Dmod.rs120 …let response_str = "HTTP/1.1 304 \r\nAge: \t 270646 \t \t\r\nDate: \t Mon, 19 Dec 2022 01:46:59 GM… in ut_response_version() localVariable
122 let result = decoder.decode(response_str).unwrap().unwrap(); in ut_response_version()
139 …let response_str = "HTTP/1.1 304 \r\nAge: \t 270646 \t \t\r\nDate: \t Mon, 19 Dec 2022 01:46:59 GM… in ut_response_status_code() localVariable
141 let result = decoder.decode(response_str).unwrap().unwrap(); in ut_response_status_code()
157 …let response_str = "HTTP/1.1 304 \r\nAge: \t 270646 \t \t\r\nDate: \t Mon, 19 Dec 2022 01:46:59 GM… in ut_response_headers() localVariable
159 let result = decoder.decode(response_str).unwrap().unwrap(); in ut_response_headers()
185 let result = decoder.decode(response_str).unwrap().unwrap(); in ut_response_body()
203 let result = decoder.decode(response_str).unwrap().unwrap(); in ut_response_body_mut()
218 …let response_str = "HTTP/1.1 304 \r\nAge: \t 270646 \t \t\r\nDate: \t Mon, 19 Dec 2022 01:46:59 GM… in ut_response_into_parts() localVariable
220 let result = decoder.decode(response_str).unwrap().unwrap(); in ut_response_into_parts()
[all …]
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/
H A Dnormalizer.rs272 …let response_str = "HTTP/1.1 202 \r\nAge: \t 270646 \t \t\r\nLocation: \t example3.com:80 \t \t\r\… in ut_body_length_parser() localVariable
274 let result = decoder.decode(response_str).unwrap().unwrap(); in ut_body_length_parser()
280 …let response_str = "HTTP/1.1 202 \r\nTransfer-Encoding: \t chunked \t \t\r\nLocation: \t example3.… in ut_body_length_parser() localVariable
282 let result = decoder.decode(response_str).unwrap().unwrap(); in ut_body_length_parser()
288 …let response_str = "HTTP/1.1 202 \r\nContent-Length: \t 20 \t \t\r\nLocation: \t example3.com:80 \… in ut_body_length_parser() localVariable
290 let result = decoder.decode(response_str).unwrap().unwrap(); in ut_body_length_parser()
296 …let response_str = "HTTP/1.0 202 \r\nTransfer-Encoding: \t chunked \t \t\r\nLocation: \t example3.… in ut_body_length_parser() localVariable
298 let result = decoder.decode(response_str).unwrap().unwrap(); in ut_body_length_parser()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/downloader/
H A Dmod.rs287 …let response_str = "HTTP/1.1 304 \r\nAge: \t 270646 \t \t\r\nLocation: \t example3.com:80 \t \t\r\… in download() localVariable
305 let result = decoder.decode(response_str).unwrap().unwrap(); in download()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/
H A Dclient.rs939 …let response_str = "HTTP/1.1 304 \r\nAge: \t 270646 \t \t\r\nLocation: \t http://example3.com:80/f… in client_request_redirect() localVariable
941 let result = decoder.decode(response_str).unwrap().unwrap(); in client_request_redirect()