lemmy/crates/api_common/src
flamingos-cant ff2bbf41ca
Use magic number to detemine file type (#5225)
* Revert "Guess image mime type from file extension (fixes #5196) (#5212)"

This reverts commit 63ea99d38a.

* Use magic numbers to determine file type.

* fmt

* Don't wrap response in an option

* Regen Cargo.lock

* Clean-up + guess mime type from extension if server is unresponsive

* Move some things about.

* Some cleanup.

* Removing comment lines.

---------

Co-authored-by: Dessalines <tyhou13@gmx.com>
2024-12-04 08:29:50 -05:00
..
build_response.rs More test coverage for private community, fix some bugs (#5207) 2024-11-22 10:49:56 -05:00
claims.rs Implement private communities (#5076) 2024-11-07 05:49:05 -05:00
comment.rs Upgrading ts_rs to 10.0.0 (#5163) 2024-11-06 15:50:13 +01:00
community.rs Implement private communities (#5076) 2024-11-07 05:49:05 -05:00
context.rs Removing a few expects from production and test code. (#5193) 2024-11-15 08:18:52 -05:00
custom_emoji.rs Upgrading ts_rs to 10.0.0 (#5163) 2024-11-06 15:50:13 +01:00
lib.rs Fixing LemmyError imports. (#5157) 2024-11-04 10:44:58 +01:00
oauth_provider.rs feat: add PKCE (#5189) 2024-12-02 16:47:03 -05:00
person.rs Add user setting to auto-mark fetched posts as read. (#5160) 2024-11-13 10:05:16 -05:00
post.rs Add ability to mark multiple posts as read. (#5178) 2024-11-14 09:03:39 -05:00
private_message.rs Upgrading ts_rs to 10.0.0 (#5163) 2024-11-06 15:50:13 +01:00
request.rs Use magic number to detemine file type (#5225) 2024-12-04 08:29:50 -05:00
send_activity.rs Implement private communities (#5076) 2024-11-07 05:49:05 -05:00
site.rs Instance blocks with mod log entry and expiration (fixes #2506) (#5214) 2024-11-28 18:21:43 -05:00
tagline.rs Upgrading ts_rs to 10.0.0 (#5163) 2024-11-06 15:50:13 +01:00
utils.rs Instance blocks with mod log entry and expiration (fixes #2506) (#5214) 2024-11-28 18:21:43 -05:00