{"id":19866425,"url":"https://github.com/zema1/rawhttp","last_synced_at":"2025-05-02T06:30:35.982Z","repository":{"id":62866842,"uuid":"560682025","full_name":"zema1/rawhttp","owner":"zema1","description":"A mininal go http client for security testing","archived":false,"fork":false,"pushed_at":"2024-07-28T05:12:36.000Z","size":23,"stargazers_count":46,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-07-28T06:24:16.729Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/zema1.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-02T02:50:57.000Z","updated_at":"2024-07-28T05:09:51.000Z","dependencies_parsed_at":"2024-06-19T05:31:16.558Z","dependency_job_id":null,"html_url":"https://github.com/zema1/rawhttp","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zema1%2Frawhttp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zema1%2Frawhttp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zema1%2Frawhttp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zema1%2Frawhttp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zema1","download_url":"https://codeload.github.com/zema1/rawhttp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224298987,"owners_count":17288458,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-12T15:25:46.534Z","updated_at":"2024-11-12T15:25:46.703Z","avatar_url":"https://github.com/zema1.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rawhttp\n\nA minimal http client for testing. \n\nNo connection pool, no fixes for RFC.\n\n\nModified from [https://github.com/projectdiscovery/rawhttp](https://github.com/projectdiscovery/rawhttp)\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"github.com/zema1/rawhttp\"\n\t\"io/ioutil\"\n\t\"net/http\"\n\t\"time\"\n)\n\nfunc main() {\n\toptions := \u0026rawhttp.Options{\n\t\tTimeout:                0 * time.Second,\n\t\tFollowRedirects:        false,\n\t\tMaxRedirects:           0,\n\t\tAutomaticHostHeader:    true,\n\t\tAutomaticContentLength: false,\n\t\tForceReadAllBody:       false,\n\t}\n\tclient := rawhttp.NewClient(options)\n\treq, _ := http.NewRequest(http.MethodGet, \"https://example.com\", nil)\n\tresp, err := client.Do(req)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tdefer resp.Body.Close()\n\tdata, err := ioutil.ReadAll(resp.Body)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tfmt.Println(string(data))\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzema1%2Frawhttp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzema1%2Frawhttp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzema1%2Frawhttp/lists"}