Paolo Barbolini
9cdefcea09
refactor: simplify handling of WASM web-time ( #1042 )
2025-02-17 09:05:22 +00:00
Abid Omar
5748af4c98
feat: add WASM support via web-time ( #1037 )
...
Support WASM environments by using web-time.
This was tested on a Cloudflare worker environment.
2025-02-17 09:53:19 +01:00
Paolo Barbolini
2b6d457f85
clippy: deny str_to_string and empty_structs_with_brackets ( #857 )
2023-02-14 18:33:10 +01:00
Paolo Barbolini
73b89f5a9f
clippy: fix latest warnings ( #781 )
2022-06-11 16:31:12 +00:00
Paolo Barbolini
65958df14f
Use pretty_assertions for all message tests ( #775 )
2022-06-02 12:20:06 +00:00
Vincent Breitmoser
c1d37d54b4
Use +0000 timezone format in Date header ( #756 )
...
Since the Date we emit is UTC, it's correct to use "+0000". The
previously used -0000 timezone indicator means "no timezone info".
2022-04-10 08:34:50 +02:00
Paolo Barbolini
96b42515cd
Don't run headers that don't need encoding though the encoder ( #739 )
2022-02-17 19:18:54 +00:00
Paolo Barbolini
dbb135c533
Introduce HeaderValue ( #729 )
2022-02-12 10:24:52 +01:00
Paolo Barbolini
99df9e8d7c
Headers insert_raw -> append_raw, set_raw -> insert_raw ( #612 )
2021-05-04 18:19:21 +02:00
Paolo Barbolini
31de9e508b
Replace hyperx Header and Headers with our own implementation ( #607 )
...
* Replace hyperx Header and Headers with our own implementation
* Remove utf8_b
* Add RFC 1522 encoder
* Fix most tests
* Throw away old tests
* Header encoding tests
* Fix slicing in the middle of a char
* Content-Disposition after rebase
* Fix the rest of the tests
* Fix useless clone clippy warnings
* Remove Headers::get_raw_mut
* HeaderName::new_from_ascii fallible API
* Tidy up HeaderName::new_from_ascii_str
* HeaderName::new_from_ascii(_str) tests
2021-05-01 13:27:00 +02:00
Paolo Barbolini
acc4ff4898
Replace hyperx Date header with our own implementation ( #597 )
2021-04-08 07:55:20 +02:00