├── .all-contributorsrc ├── .ameba.yml ├── .github ├── dependabot.yml └── workflows │ ├── crystal.yml │ └── documentation.yml ├── .gitignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── docs └── .keep ├── logo ├── icon.png ├── icon.svg ├── logotype_horizontal.png ├── logotype_horizontal.svg ├── logotype_horizontal_dark.png └── og.png ├── playground └── requests.md ├── samples ├── digest_auth.cr ├── idn.cr ├── logging.cr ├── named_arguments.cr ├── progress.cr ├── proxy.cr ├── set_cookies.cr ├── ssl_issue.cr ├── streaming.cr └── test_requests.cr ├── shard.yml ├── spec ├── fixtures │ ├── json │ │ └── complex_object.json │ └── vcr │ │ └── httpbingo.org │ │ ├── 428ac60f5a21c78c87436e057c514341.vcr │ │ └── 52f0921f255b58b6932101436e461c40.vcr ├── integration │ ├── basic_auth_spec.cr │ ├── cookies_spec.cr │ ├── crest_spec.cr │ ├── exception_spec.cr │ ├── headers_spec.cr │ ├── logger_spec.cr │ ├── proxy_spec.cr │ ├── redirection_spec.cr │ ├── request_spec.cr │ ├── resource_spec.cr │ ├── response_spec.cr │ └── streaming_spec.cr ├── spec_helper.cr ├── support │ ├── constants.cr │ ├── fff.png │ ├── file_without_extension │ ├── server.cr │ └── views │ │ └── forms │ │ └── post.ecr └── unit │ ├── crest_spec.cr │ ├── curlify_spec.cr │ ├── data_form_spec.cr │ ├── exceptions_spec.cr │ ├── params_decoder_spec.cr │ ├── params_encoders │ ├── enumerated_flat_params_encoder_spec.cr │ ├── flat_params_encoder_spec.cr │ ├── nested_params_encoder_spec.cr │ └── zero_enumerated_flat_params_encoder_spec.cr │ ├── request_spec.cr │ ├── resource_spec.cr │ └── urlencoded_form_spec.cr └── src ├── crest.cr ├── crest ├── curlify.cr ├── exceptions.cr ├── form.cr ├── forms │ ├── data_form.cr │ ├── json_form.cr │ └── urlencoded_form.cr ├── logger.cr ├── loggers │ └── common_logger.cr ├── params_decoder.cr ├── params_encoder.cr ├── params_encoders │ ├── enumerated_flat_params_encoder.cr │ ├── flat_params_encoder.cr │ ├── nested_params_encoder.cr │ └── zero_enumerated_flat_params_encoder.cr ├── redirector.cr ├── request.cr ├── resource.cr └── response.cr └── ext ├── http └── cookie.cr └── io.cr /.all-contributorsrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/.all-contributorsrc -------------------------------------------------------------------------------- /.ameba.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/.ameba.yml -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/crystal.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/.github/workflows/crystal.yml -------------------------------------------------------------------------------- /.github/workflows/documentation.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/.github/workflows/documentation.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/README.md -------------------------------------------------------------------------------- /docs/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /logo/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/logo/icon.png -------------------------------------------------------------------------------- /logo/icon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/logo/icon.svg -------------------------------------------------------------------------------- /logo/logotype_horizontal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/logo/logotype_horizontal.png -------------------------------------------------------------------------------- /logo/logotype_horizontal.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/logo/logotype_horizontal.svg -------------------------------------------------------------------------------- /logo/logotype_horizontal_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/logo/logotype_horizontal_dark.png -------------------------------------------------------------------------------- /logo/og.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/logo/og.png -------------------------------------------------------------------------------- /playground/requests.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/playground/requests.md -------------------------------------------------------------------------------- /samples/digest_auth.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/samples/digest_auth.cr -------------------------------------------------------------------------------- /samples/idn.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/samples/idn.cr -------------------------------------------------------------------------------- /samples/logging.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/samples/logging.cr -------------------------------------------------------------------------------- /samples/named_arguments.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/samples/named_arguments.cr -------------------------------------------------------------------------------- /samples/progress.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/samples/progress.cr -------------------------------------------------------------------------------- /samples/proxy.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/samples/proxy.cr -------------------------------------------------------------------------------- /samples/set_cookies.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/samples/set_cookies.cr -------------------------------------------------------------------------------- /samples/ssl_issue.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/samples/ssl_issue.cr -------------------------------------------------------------------------------- /samples/streaming.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/samples/streaming.cr -------------------------------------------------------------------------------- /samples/test_requests.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/samples/test_requests.cr -------------------------------------------------------------------------------- /shard.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/shard.yml -------------------------------------------------------------------------------- /spec/fixtures/json/complex_object.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/spec/fixtures/json/complex_object.json -------------------------------------------------------------------------------- /spec/fixtures/vcr/httpbingo.org/428ac60f5a21c78c87436e057c514341.vcr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/spec/fixtures/vcr/httpbingo.org/428ac60f5a21c78c87436e057c514341.vcr -------------------------------------------------------------------------------- /spec/fixtures/vcr/httpbingo.org/52f0921f255b58b6932101436e461c40.vcr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/spec/fixtures/vcr/httpbingo.org/52f0921f255b58b6932101436e461c40.vcr -------------------------------------------------------------------------------- /spec/integration/basic_auth_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/spec/integration/basic_auth_spec.cr -------------------------------------------------------------------------------- /spec/integration/cookies_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/spec/integration/cookies_spec.cr -------------------------------------------------------------------------------- /spec/integration/crest_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/spec/integration/crest_spec.cr -------------------------------------------------------------------------------- /spec/integration/exception_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/spec/integration/exception_spec.cr -------------------------------------------------------------------------------- /spec/integration/headers_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/spec/integration/headers_spec.cr -------------------------------------------------------------------------------- /spec/integration/logger_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/spec/integration/logger_spec.cr -------------------------------------------------------------------------------- /spec/integration/proxy_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/spec/integration/proxy_spec.cr -------------------------------------------------------------------------------- /spec/integration/redirection_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/spec/integration/redirection_spec.cr -------------------------------------------------------------------------------- /spec/integration/request_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/spec/integration/request_spec.cr -------------------------------------------------------------------------------- /spec/integration/resource_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/spec/integration/resource_spec.cr -------------------------------------------------------------------------------- /spec/integration/response_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/spec/integration/response_spec.cr -------------------------------------------------------------------------------- /spec/integration/streaming_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/spec/integration/streaming_spec.cr -------------------------------------------------------------------------------- /spec/spec_helper.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/spec/spec_helper.cr -------------------------------------------------------------------------------- /spec/support/constants.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/spec/support/constants.cr -------------------------------------------------------------------------------- /spec/support/fff.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/spec/support/fff.png -------------------------------------------------------------------------------- /spec/support/file_without_extension: -------------------------------------------------------------------------------- 1 | test file 2 | -------------------------------------------------------------------------------- /spec/support/server.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/spec/support/server.cr -------------------------------------------------------------------------------- /spec/support/views/forms/post.ecr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/spec/support/views/forms/post.ecr -------------------------------------------------------------------------------- /spec/unit/crest_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/spec/unit/crest_spec.cr -------------------------------------------------------------------------------- /spec/unit/curlify_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/spec/unit/curlify_spec.cr -------------------------------------------------------------------------------- /spec/unit/data_form_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/spec/unit/data_form_spec.cr -------------------------------------------------------------------------------- /spec/unit/exceptions_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/spec/unit/exceptions_spec.cr -------------------------------------------------------------------------------- /spec/unit/params_decoder_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/spec/unit/params_decoder_spec.cr -------------------------------------------------------------------------------- /spec/unit/params_encoders/enumerated_flat_params_encoder_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/spec/unit/params_encoders/enumerated_flat_params_encoder_spec.cr -------------------------------------------------------------------------------- /spec/unit/params_encoders/flat_params_encoder_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/spec/unit/params_encoders/flat_params_encoder_spec.cr -------------------------------------------------------------------------------- /spec/unit/params_encoders/nested_params_encoder_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/spec/unit/params_encoders/nested_params_encoder_spec.cr -------------------------------------------------------------------------------- /spec/unit/params_encoders/zero_enumerated_flat_params_encoder_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/spec/unit/params_encoders/zero_enumerated_flat_params_encoder_spec.cr -------------------------------------------------------------------------------- /spec/unit/request_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/spec/unit/request_spec.cr -------------------------------------------------------------------------------- /spec/unit/resource_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/spec/unit/resource_spec.cr -------------------------------------------------------------------------------- /spec/unit/urlencoded_form_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/spec/unit/urlencoded_form_spec.cr -------------------------------------------------------------------------------- /src/crest.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/src/crest.cr -------------------------------------------------------------------------------- /src/crest/curlify.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/src/crest/curlify.cr -------------------------------------------------------------------------------- /src/crest/exceptions.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/src/crest/exceptions.cr -------------------------------------------------------------------------------- /src/crest/form.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/src/crest/form.cr -------------------------------------------------------------------------------- /src/crest/forms/data_form.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/src/crest/forms/data_form.cr -------------------------------------------------------------------------------- /src/crest/forms/json_form.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/src/crest/forms/json_form.cr -------------------------------------------------------------------------------- /src/crest/forms/urlencoded_form.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/src/crest/forms/urlencoded_form.cr -------------------------------------------------------------------------------- /src/crest/logger.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/src/crest/logger.cr -------------------------------------------------------------------------------- /src/crest/loggers/common_logger.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/src/crest/loggers/common_logger.cr -------------------------------------------------------------------------------- /src/crest/params_decoder.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/src/crest/params_decoder.cr -------------------------------------------------------------------------------- /src/crest/params_encoder.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/src/crest/params_encoder.cr -------------------------------------------------------------------------------- /src/crest/params_encoders/enumerated_flat_params_encoder.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/src/crest/params_encoders/enumerated_flat_params_encoder.cr -------------------------------------------------------------------------------- /src/crest/params_encoders/flat_params_encoder.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/src/crest/params_encoders/flat_params_encoder.cr -------------------------------------------------------------------------------- /src/crest/params_encoders/nested_params_encoder.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/src/crest/params_encoders/nested_params_encoder.cr -------------------------------------------------------------------------------- /src/crest/params_encoders/zero_enumerated_flat_params_encoder.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/src/crest/params_encoders/zero_enumerated_flat_params_encoder.cr -------------------------------------------------------------------------------- /src/crest/redirector.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/src/crest/redirector.cr -------------------------------------------------------------------------------- /src/crest/request.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/src/crest/request.cr -------------------------------------------------------------------------------- /src/crest/resource.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/src/crest/resource.cr -------------------------------------------------------------------------------- /src/crest/response.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/src/crest/response.cr -------------------------------------------------------------------------------- /src/ext/http/cookie.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/src/ext/http/cookie.cr -------------------------------------------------------------------------------- /src/ext/io.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mamantoha/crest/HEAD/src/ext/io.cr --------------------------------------------------------------------------------