├── .github ├── FUNDING.yml └── workflows │ ├── codeql-analysis.yml │ └── go.yml ├── .gitignore ├── LICENSE ├── README.md ├── SECURITY.md ├── body.go ├── config.go ├── config_example_test.go ├── cookies.go ├── cookies_example_test.go ├── core_do.go ├── core_req.go ├── core_url.go ├── core_url_test.go ├── doc.go ├── errorkind.go ├── errorkind_string.go ├── errorkind_test.go ├── go.mod ├── go.sum ├── handler.go ├── handler_example_test.go ├── internal ├── be │ ├── be.go │ ├── be │ │ └── be_example_test.go │ ├── be_example_test.go │ ├── be_test.go │ ├── debug.go │ ├── debug_example_test.go │ ├── deep_equal.go │ ├── deep_equal_example_test.go │ ├── doc.go │ └── in.go └── minitrue │ ├── minitrue.go │ └── minitrue_test.go ├── recorder.go ├── recorder_example_test.go ├── recorder_test.go ├── redirects.go ├── redirects_example_test.go ├── reqhtml ├── html.go └── html_test.go ├── reqtest ├── doc.go ├── json.go ├── json_example_test.go ├── json_test.go ├── recorder_example_test.go ├── recorder_test.go ├── server.go ├── server_example_test.go └── transport.go ├── reqxml ├── body.go ├── body_example_test.go ├── doc.go ├── err.go ├── err_example_test.go ├── testdata │ ├── AvSjdlkb.req.txt │ ├── AvSjdlkb.res.txt │ ├── i7vVIrGz.req.txt │ └── i7vVIrGz.res.txt ├── to.go └── to_example_test.go ├── serializer.go ├── testdata ├── example.com 404 GET OCxW4RM7.req.txt ├── example.com 404 GET OCxW4RM7.res.txt ├── example.com GET config Fgu18UEb.req.txt ├── example.com GET config Fgu18UEb.res.txt ├── example.com GET oY6LgUXr.req.txt ├── example.com GET oY6LgUXr.res.txt ├── example.com HEAD 8-uH1D3A.req.txt ├── example.com HEAD 8-uH1D3A.res.txt ├── httpbin bearer bad ABzn8ss3.req.txt ├── httpbin bearer bad ABzn8ss3.res.txt ├── httpbin bearer good ZmpvxtBj.req.txt ├── httpbin bearer good ZmpvxtBj.res.txt ├── httpbin cookies get sEN6dmYo.req.txt ├── httpbin cookies get sEN6dmYo.res.txt ├── httpbin cookies set -J8pTlzo.req.txt ├── httpbin cookies set -J8pTlzo.res.txt ├── httpbin cookies set SMVCLa3m.req.txt ├── httpbin cookies set SMVCLa3m.res.txt ├── httpbin cookies set extra x9E4X-Ks.req.txt ├── httpbin cookies set extra x9E4X-Ks.res.txt ├── httpbingo redirect 8FmuIOBr.req.txt ├── httpbingo redirect 8FmuIOBr.res.txt ├── httpbingo.org redirect 2 4fEBjlzY.req.txt ├── httpbingo.org redirect 2 4fEBjlzY.res.txt ├── httpbingo.org redirect 2 bFTejl7q.req.txt ├── httpbingo.org redirect 2 bFTejl7q.res.txt ├── jsonplaceholder-posts GET cE6yDAL9.req.txt ├── jsonplaceholder-posts GET cE6yDAL9.res.txt ├── jsonplaceholder-posts POST pe7QRLxL.req.txt ├── jsonplaceholder-posts POST pe7QRLxL.res.txt ├── jsonplaceholder-posts-9001 GET BLXx70FX.req.txt ├── jsonplaceholder-posts-9001 GET BLXx70FX.res.txt ├── postman-echo POST 5um4QpkI.req.txt ├── postman-echo POST 5um4QpkI.res.txt ├── postman-echo POST csv 24gGZFC1.req.txt ├── postman-echo POST csv 24gGZFC1.res.txt ├── postman-echo POST gzip pL_wuhOy.req.txt ├── postman-echo POST gzip pL_wuhOy.res.txt ├── postman-echo PUT VcmipPTY.req.txt ├── postman-echo PUT VcmipPTY.res.txt ├── postman-echo headers d1jnNeTH.req.txt ├── postman-echo headers d1jnNeTH.res.txt ├── postman-echo queryparam 9f-wfZji.req.txt ├── postman-echo queryparam 9f-wfZji.res.txt ├── postman-echo roundtripfunc IZ3GtzMv.req.txt ├── postman-echo roundtripfunc IZ3GtzMv.res.txt ├── postman-echo user-agent jv5zgJFu.req.txt └── postman-echo user-agent jv5zgJFu.res.txt ├── transport.go ├── transport_example_test.go ├── transport_test.go ├── validator.go ├── validator_example_test.go ├── validator_handler.go └── validator_handler_example_test.go /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.github/workflows/go.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/.github/workflows/go.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | img/ 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/SECURITY.md -------------------------------------------------------------------------------- /body.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/body.go -------------------------------------------------------------------------------- /config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/config.go -------------------------------------------------------------------------------- /config_example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/config_example_test.go -------------------------------------------------------------------------------- /cookies.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/cookies.go -------------------------------------------------------------------------------- /cookies_example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/cookies_example_test.go -------------------------------------------------------------------------------- /core_do.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/core_do.go -------------------------------------------------------------------------------- /core_req.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/core_req.go -------------------------------------------------------------------------------- /core_url.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/core_url.go -------------------------------------------------------------------------------- /core_url_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/core_url_test.go -------------------------------------------------------------------------------- /doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/doc.go -------------------------------------------------------------------------------- /errorkind.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/errorkind.go -------------------------------------------------------------------------------- /errorkind_string.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/errorkind_string.go -------------------------------------------------------------------------------- /errorkind_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/errorkind_test.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/go.sum -------------------------------------------------------------------------------- /handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/handler.go -------------------------------------------------------------------------------- /handler_example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/handler_example_test.go -------------------------------------------------------------------------------- /internal/be/be.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/internal/be/be.go -------------------------------------------------------------------------------- /internal/be/be/be_example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/internal/be/be/be_example_test.go -------------------------------------------------------------------------------- /internal/be/be_example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/internal/be/be_example_test.go -------------------------------------------------------------------------------- /internal/be/be_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/internal/be/be_test.go -------------------------------------------------------------------------------- /internal/be/debug.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/internal/be/debug.go -------------------------------------------------------------------------------- /internal/be/debug_example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/internal/be/debug_example_test.go -------------------------------------------------------------------------------- /internal/be/deep_equal.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/internal/be/deep_equal.go -------------------------------------------------------------------------------- /internal/be/deep_equal_example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/internal/be/deep_equal_example_test.go -------------------------------------------------------------------------------- /internal/be/doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/internal/be/doc.go -------------------------------------------------------------------------------- /internal/be/in.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/internal/be/in.go -------------------------------------------------------------------------------- /internal/minitrue/minitrue.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/internal/minitrue/minitrue.go -------------------------------------------------------------------------------- /internal/minitrue/minitrue_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/internal/minitrue/minitrue_test.go -------------------------------------------------------------------------------- /recorder.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/recorder.go -------------------------------------------------------------------------------- /recorder_example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/recorder_example_test.go -------------------------------------------------------------------------------- /recorder_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/recorder_test.go -------------------------------------------------------------------------------- /redirects.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/redirects.go -------------------------------------------------------------------------------- /redirects_example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/redirects_example_test.go -------------------------------------------------------------------------------- /reqhtml/html.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/reqhtml/html.go -------------------------------------------------------------------------------- /reqhtml/html_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/reqhtml/html_test.go -------------------------------------------------------------------------------- /reqtest/doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/reqtest/doc.go -------------------------------------------------------------------------------- /reqtest/json.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/reqtest/json.go -------------------------------------------------------------------------------- /reqtest/json_example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/reqtest/json_example_test.go -------------------------------------------------------------------------------- /reqtest/json_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/reqtest/json_test.go -------------------------------------------------------------------------------- /reqtest/recorder_example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/reqtest/recorder_example_test.go -------------------------------------------------------------------------------- /reqtest/recorder_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/reqtest/recorder_test.go -------------------------------------------------------------------------------- /reqtest/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/reqtest/server.go -------------------------------------------------------------------------------- /reqtest/server_example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/reqtest/server_example_test.go -------------------------------------------------------------------------------- /reqtest/transport.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/reqtest/transport.go -------------------------------------------------------------------------------- /reqxml/body.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/reqxml/body.go -------------------------------------------------------------------------------- /reqxml/body_example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/reqxml/body_example_test.go -------------------------------------------------------------------------------- /reqxml/doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/reqxml/doc.go -------------------------------------------------------------------------------- /reqxml/err.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/reqxml/err.go -------------------------------------------------------------------------------- /reqxml/err_example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/reqxml/err_example_test.go -------------------------------------------------------------------------------- /reqxml/testdata/AvSjdlkb.req.txt: -------------------------------------------------------------------------------- 1 | GET /xml/cd_catalog.xml HTTP/1.1 2 | Host: www.w3schools.com 3 | 4 | -------------------------------------------------------------------------------- /reqxml/testdata/AvSjdlkb.res.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/reqxml/testdata/AvSjdlkb.res.txt -------------------------------------------------------------------------------- /reqxml/testdata/i7vVIrGz.req.txt: -------------------------------------------------------------------------------- 1 | GET / HTTP/1.1 2 | Host: example.s3.us-east-1.amazonaws.com 3 | 4 | -------------------------------------------------------------------------------- /reqxml/testdata/i7vVIrGz.res.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/reqxml/testdata/i7vVIrGz.res.txt -------------------------------------------------------------------------------- /reqxml/to.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/reqxml/to.go -------------------------------------------------------------------------------- /reqxml/to_example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/reqxml/to_example_test.go -------------------------------------------------------------------------------- /serializer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/serializer.go -------------------------------------------------------------------------------- /testdata/example.com 404 GET OCxW4RM7.req.txt: -------------------------------------------------------------------------------- 1 | GET /404 HTTP/1.1 2 | Host: example.com 3 | 4 | -------------------------------------------------------------------------------- /testdata/example.com 404 GET OCxW4RM7.res.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/example.com 404 GET OCxW4RM7.res.txt -------------------------------------------------------------------------------- /testdata/example.com GET config Fgu18UEb.req.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/example.com GET config Fgu18UEb.req.txt -------------------------------------------------------------------------------- /testdata/example.com GET config Fgu18UEb.res.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/example.com GET config Fgu18UEb.res.txt -------------------------------------------------------------------------------- /testdata/example.com GET oY6LgUXr.req.txt: -------------------------------------------------------------------------------- 1 | GET / HTTP/1.1 2 | Host: example.com 3 | 4 | -------------------------------------------------------------------------------- /testdata/example.com GET oY6LgUXr.res.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/example.com GET oY6LgUXr.res.txt -------------------------------------------------------------------------------- /testdata/example.com HEAD 8-uH1D3A.req.txt: -------------------------------------------------------------------------------- 1 | HEAD / HTTP/1.1 2 | Host: example.com 3 | 4 | -------------------------------------------------------------------------------- /testdata/example.com HEAD 8-uH1D3A.res.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/example.com HEAD 8-uH1D3A.res.txt -------------------------------------------------------------------------------- /testdata/httpbin bearer bad ABzn8ss3.req.txt: -------------------------------------------------------------------------------- 1 | GET /bearer HTTP/1.1 2 | Host: httpbin.org 3 | 4 | -------------------------------------------------------------------------------- /testdata/httpbin bearer bad ABzn8ss3.res.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/httpbin bearer bad ABzn8ss3.res.txt -------------------------------------------------------------------------------- /testdata/httpbin bearer good ZmpvxtBj.req.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/httpbin bearer good ZmpvxtBj.req.txt -------------------------------------------------------------------------------- /testdata/httpbin bearer good ZmpvxtBj.res.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/httpbin bearer good ZmpvxtBj.res.txt -------------------------------------------------------------------------------- /testdata/httpbin cookies get sEN6dmYo.req.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/httpbin cookies get sEN6dmYo.req.txt -------------------------------------------------------------------------------- /testdata/httpbin cookies get sEN6dmYo.res.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/httpbin cookies get sEN6dmYo.res.txt -------------------------------------------------------------------------------- /testdata/httpbin cookies set -J8pTlzo.req.txt: -------------------------------------------------------------------------------- 1 | GET /cookies/set/chocolate/chip HTTP/1.1 2 | Host: httpbin.org 3 | 4 | -------------------------------------------------------------------------------- /testdata/httpbin cookies set -J8pTlzo.res.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/httpbin cookies set -J8pTlzo.res.txt -------------------------------------------------------------------------------- /testdata/httpbin cookies set SMVCLa3m.req.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/httpbin cookies set SMVCLa3m.req.txt -------------------------------------------------------------------------------- /testdata/httpbin cookies set SMVCLa3m.res.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/httpbin cookies set SMVCLa3m.res.txt -------------------------------------------------------------------------------- /testdata/httpbin cookies set extra x9E4X-Ks.req.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/httpbin cookies set extra x9E4X-Ks.req.txt -------------------------------------------------------------------------------- /testdata/httpbin cookies set extra x9E4X-Ks.res.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/httpbin cookies set extra x9E4X-Ks.res.txt -------------------------------------------------------------------------------- /testdata/httpbingo redirect 8FmuIOBr.req.txt: -------------------------------------------------------------------------------- 1 | GET /redirect/1 HTTP/1.1 2 | Host: httpbingo.org 3 | 4 | -------------------------------------------------------------------------------- /testdata/httpbingo redirect 8FmuIOBr.res.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/httpbingo redirect 8FmuIOBr.res.txt -------------------------------------------------------------------------------- /testdata/httpbingo.org redirect 2 4fEBjlzY.req.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/httpbingo.org redirect 2 4fEBjlzY.req.txt -------------------------------------------------------------------------------- /testdata/httpbingo.org redirect 2 4fEBjlzY.res.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/httpbingo.org redirect 2 4fEBjlzY.res.txt -------------------------------------------------------------------------------- /testdata/httpbingo.org redirect 2 bFTejl7q.req.txt: -------------------------------------------------------------------------------- 1 | GET /redirect/2 HTTP/1.1 2 | Host: httpbingo.org 3 | 4 | -------------------------------------------------------------------------------- /testdata/httpbingo.org redirect 2 bFTejl7q.res.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/httpbingo.org redirect 2 bFTejl7q.res.txt -------------------------------------------------------------------------------- /testdata/jsonplaceholder-posts GET cE6yDAL9.req.txt: -------------------------------------------------------------------------------- 1 | GET /posts/1 HTTP/1.1 2 | Host: jsonplaceholder.typicode.com 3 | 4 | -------------------------------------------------------------------------------- /testdata/jsonplaceholder-posts GET cE6yDAL9.res.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/jsonplaceholder-posts GET cE6yDAL9.res.txt -------------------------------------------------------------------------------- /testdata/jsonplaceholder-posts POST pe7QRLxL.req.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/jsonplaceholder-posts POST pe7QRLxL.req.txt -------------------------------------------------------------------------------- /testdata/jsonplaceholder-posts POST pe7QRLxL.res.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/jsonplaceholder-posts POST pe7QRLxL.res.txt -------------------------------------------------------------------------------- /testdata/jsonplaceholder-posts-9001 GET BLXx70FX.req.txt: -------------------------------------------------------------------------------- 1 | GET /posts/9001 HTTP/1.1 2 | Host: jsonplaceholder.typicode.com 3 | 4 | -------------------------------------------------------------------------------- /testdata/jsonplaceholder-posts-9001 GET BLXx70FX.res.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/jsonplaceholder-posts-9001 GET BLXx70FX.res.txt -------------------------------------------------------------------------------- /testdata/postman-echo POST 5um4QpkI.req.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/postman-echo POST 5um4QpkI.req.txt -------------------------------------------------------------------------------- /testdata/postman-echo POST 5um4QpkI.res.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/postman-echo POST 5um4QpkI.res.txt -------------------------------------------------------------------------------- /testdata/postman-echo POST csv 24gGZFC1.req.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/postman-echo POST csv 24gGZFC1.req.txt -------------------------------------------------------------------------------- /testdata/postman-echo POST csv 24gGZFC1.res.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/postman-echo POST csv 24gGZFC1.res.txt -------------------------------------------------------------------------------- /testdata/postman-echo POST gzip pL_wuhOy.req.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/postman-echo POST gzip pL_wuhOy.req.txt -------------------------------------------------------------------------------- /testdata/postman-echo POST gzip pL_wuhOy.res.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/postman-echo POST gzip pL_wuhOy.res.txt -------------------------------------------------------------------------------- /testdata/postman-echo PUT VcmipPTY.req.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/postman-echo PUT VcmipPTY.req.txt -------------------------------------------------------------------------------- /testdata/postman-echo PUT VcmipPTY.res.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/postman-echo PUT VcmipPTY.res.txt -------------------------------------------------------------------------------- /testdata/postman-echo headers d1jnNeTH.req.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/postman-echo headers d1jnNeTH.req.txt -------------------------------------------------------------------------------- /testdata/postman-echo headers d1jnNeTH.res.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/postman-echo headers d1jnNeTH.res.txt -------------------------------------------------------------------------------- /testdata/postman-echo queryparam 9f-wfZji.req.txt: -------------------------------------------------------------------------------- 1 | GET /get?a=1&b=3&c=4 HTTP/1.1 2 | Host: postman-echo.com 3 | 4 | -------------------------------------------------------------------------------- /testdata/postman-echo queryparam 9f-wfZji.res.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/postman-echo queryparam 9f-wfZji.res.txt -------------------------------------------------------------------------------- /testdata/postman-echo roundtripfunc IZ3GtzMv.req.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/postman-echo roundtripfunc IZ3GtzMv.req.txt -------------------------------------------------------------------------------- /testdata/postman-echo roundtripfunc IZ3GtzMv.res.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/postman-echo roundtripfunc IZ3GtzMv.res.txt -------------------------------------------------------------------------------- /testdata/postman-echo user-agent jv5zgJFu.req.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/postman-echo user-agent jv5zgJFu.req.txt -------------------------------------------------------------------------------- /testdata/postman-echo user-agent jv5zgJFu.res.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/testdata/postman-echo user-agent jv5zgJFu.res.txt -------------------------------------------------------------------------------- /transport.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/transport.go -------------------------------------------------------------------------------- /transport_example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/transport_example_test.go -------------------------------------------------------------------------------- /transport_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/transport_test.go -------------------------------------------------------------------------------- /validator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/validator.go -------------------------------------------------------------------------------- /validator_example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/validator_example_test.go -------------------------------------------------------------------------------- /validator_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/validator_handler.go -------------------------------------------------------------------------------- /validator_handler_example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/earthboundkid/requests/HEAD/validator_handler_example_test.go --------------------------------------------------------------------------------