mirror of
https://github.com/bytedance/g3.git
synced 2026-04-28 11:40:54 +00:00
| .. | ||
| AuthNoCachePostFile.java | ||
| README.md | ||
Java Apache HttpComponents Testcases
This directory contains the testcases written in Java, using Apache HttpComponents HttpClient 4.5 as the http client library.
How to run
java -classpath /usr/share/java/httpclient.jar <filename>.jar
Testcases
AuthNoCachePostFile
Reading a file and POST it's content to http://httpbin.org/post.
PreemptiveBasicAuthentication is not enabled, so we can use this testcase to test the untrusted read functionality of the http proxy server.