4 releases

0.1.3 Dec 29, 2023
0.1.2 Jan 14, 2022
0.1.1 Dec 29, 2021
0.1.0 Dec 29, 2021

#207 in HTTP client

40 downloads per month
Used in wrequest

Apache-2.0

52KB
1K SLoC

Rust Web Cookie (wcookie)

wcookie is an HTTP Cookie implementation written in Rust.

Cookie semantics is defined in RFC6265:

  • Cookies are sent from web servers to user agents in Set-Cookie HTTP Response headers as defined in Set-Cookie header.
  • User agents, can incluide Cookies in Cookie HTTP request headers when some criteria are met, as defined in Cookie header.

wcookie can be use for managing cookies at both web client and server implementations.

Related projects

wcookie is used by wclient Rust Web Client.

Documentation

Please, visit docs.rs to get access to the last version of the library documentation and user manual.

Contributions

I appreciate you interest and welcome any comment, bug, idea, etc.

Please, use the GitHub Issues to provide feedback.

License

Copyright 2021 Juan A. Cáceres (cacexp@gmail.com)

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Dependencies

~3–4.5MB
~71K SLoC