nushell/crates/nu-test-support/src
Jack Wright 73e8de9753
Attempt to guess the content type of a file when opening with --raw (#13521)
# Description
Attempt to guess the content type of a file when opening with --raw and
set it in the pipeline metadata.

<img width="644" alt="Screenshot 2024-08-02 at 11 30 10"
src="https://github.com/user-attachments/assets/071f0967-c4dd-405a-b8c8-f7aa073efa98">


# User-Facing Changes
- Content of files can be directly piped into commands like `http post`
with the content type set appropriately when using `--raw`.
2024-08-06 11:36:24 +02:00
..
playground Path migration part 2: nu-test-support (#13329) 2024-07-12 02:43:10 +00:00
commands.rs Exclude polars from ensure_plugins_built(), for performance reasons (#12896) 2024-05-17 15:04:59 +00:00
fs.rs Path migration part 4: various tests (#13373) 2024-08-03 10:09:13 +02:00
lib.rs Attempt to guess the content type of a file when opening with --raw (#13521) 2024-08-06 11:36:24 +02:00
locale_override.rs Remove once_cell dependency from nu-test-support create. (#8568) 2023-03-22 19:36:52 +01:00
macros.rs Path migration part 2: nu-test-support (#13329) 2024-07-12 02:43:10 +00:00
playground.rs Path migration part 2: nu-test-support (#13329) 2024-07-12 02:43:10 +00:00