{"id":57760,"library":"http-types","title":"HTTP Types","description":"Common types for HTTP operations including requests, responses, headers, and URIs.","status":"active","version":"2.12.0","language":"rust","source_language":null,"source_url":"https://github.com/http-rs/http-types","tags":["http","types","request","response"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nhttp-types = \"2.12.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add http-types","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Request","correct":"use http_types::Request;"}],"quickstart":{"code":"use http_types::{Request, Method, Url};\n\nlet mut req = Request::new(Method::Get, Url::parse(\"https://example.com\").unwrap());\nreq.insert_header(\"Accept\", \"application/json\");\nprintln!(\"Request: {:?}\", req);","lang":"rust","description":"Creates an HTTP GET request with an Accept header."},"warnings":[],"env_vars":null,"search_vec":"'common':3 'header':11 'http':1,6,14 'includ':8 'oper':7 'request':9,16 'respons':10,17 'type':2,4,15 'uri':13","created_at":"2026-06-16T15:56:14.420435+00:00","updated_at":"2026-06-16T15:56:14.420435+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/http-rs/http-types","github":"https://github.com/http-rs/http-types","docs":"https://docs.rs/http-types/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}