nushell/crates/nu-command/tests/commands/network/http
WindSoilder 1edd3e7c3b
add http options command (#9365)
# Description
closes: #9344

Different to other http commands, `http options` command always returns
header, according to
[MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/OPTIONS),
the response information is included in header.

# User-Facing Changes
<!-- List of all changes that impact the user experience here. This
helps us keep track of breaking changes. -->

# Tests + Formatting
<!--
Don't forget to add tests that cover your changes.

Make sure you've run and fixed any issues with these commands:

- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect -A clippy::result_large_err` to check that
you're using the standard code style
- `cargo test --workspace` to check that all tests pass
- `cargo run -- crates/nu-std/tests/run.nu` to run the tests for the
standard library

> **Note**
> from `nushell` you can also use the `toolkit` as follows
> ```bash
> use toolkit.nu # or use an `env_change` hook to activate it
automatically
> toolkit check pr
> ```
-->

# After Submitting
<!-- If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
-->
2023-06-09 08:00:40 -05:00
..
delete.rs changes Reqwest to Ureq. (#8320) 2023-03-05 14:48:13 -08:00
get.rs feat: added multiple options to http commands (#8571) 2023-03-23 13:32:35 -07:00
head.rs changes Reqwest to Ureq. (#8320) 2023-03-05 14:48:13 -08:00
mod.rs add http options command (#9365) 2023-06-09 08:00:40 -05:00
options.rs add http options command (#9365) 2023-06-09 08:00:40 -05:00
patch.rs changes Reqwest to Ureq. (#8320) 2023-03-05 14:48:13 -08:00
post.rs Fix record-to-JSON conversion for HTTP commands (#8663) 2023-03-29 11:55:51 -07:00
put.rs changes Reqwest to Ureq. (#8320) 2023-03-05 14:48:13 -08:00