{"id":20101942,"url":"https://github.com/ademdc/parse-http","last_synced_at":"2026-06-19T01:31:52.748Z","repository":{"id":45049069,"uuid":"436005188","full_name":"ademdc/parse-http","owner":"ademdc","description":"HTTP parser for Ruby","archived":false,"fork":false,"pushed_at":"2022-01-12T15:42:00.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-04T16:21:21.200Z","etag":null,"topics":["http","parser","restclient"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/parse-http","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ademdc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-07T19:39:06.000Z","updated_at":"2021-12-07T20:21:16.000Z","dependencies_parsed_at":"2022-08-19T16:50:12.692Z","dependency_job_id":null,"html_url":"https://github.com/ademdc/parse-http","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ademdc/parse-http","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ademdc%2Fparse-http","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ademdc%2Fparse-http/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ademdc%2Fparse-http/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ademdc%2Fparse-http/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ademdc","download_url":"https://codeload.github.com/ademdc/parse-http/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ademdc%2Fparse-http/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34514282,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-18T02:00:06.871Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["http","parser","restclient"],"created_at":"2024-11-13T17:27:38.467Z","updated_at":"2026-06-19T01:31:52.708Z","avatar_url":"https://github.com/ademdc.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# parse-http\nRuby HTTP parser\n\n## Installation\nAdd this line to your application's Gemfile:\n\n```\ngem 'parse-http', '1.0.1', require: 'parse-http'\n```\n\n...followed with:\n```\nbundle install\n```\n\nOr install it with:\n```\ngem install parse-http\n```\n\n## Usage\n```\nuri      = URI.parse('www.example.com')\nresponse = Net::HTTP.get_response(uri)\nparser = HttpParser.parse(response)\n```\n\nThe `parser` object is a Struct which has two parameters: `success?` and `hash_response`. e.g.\n\n```\n #\u003cstruct :success?=true, hash_response={\"userId\"=\u003e1, \"id\"=\u003e1, \"title\"=\u003e\"delectus aut autem\", \"completed\"=\u003efalse}\u003e \n```\n\nThe requirment for the response which is passed to the initializier is to have the `conent-type: application/json`\n\nSo far, it works with `Net::HTTTP` and `RestClient`.\n\n## Run tests\n\n```\nrspec spec\n```\n\n### Thank you for using HttpParser!\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fademdc%2Fparse-http","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fademdc%2Fparse-http","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fademdc%2Fparse-http/lists"}