{"id":28127852,"url":"https://github.com/jkroso/http.jl","last_synced_at":"2025-08-25T00:11:21.445Z","repository":{"id":20500787,"uuid":"23779236","full_name":"jkroso/HTTP.jl","owner":"jkroso","description":"An HTTP client and server for Julia","archived":false,"fork":false,"pushed_at":"2024-06-23T03:26:34.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-14T09:56:05.915Z","etag":null,"topics":["http","julia"],"latest_commit_sha":null,"homepage":"","language":"Julia","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/jkroso.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":"2014-09-08T04:32:18.000Z","updated_at":"2024-06-23T03:26:37.000Z","dependencies_parsed_at":"2024-06-19T11:36:11.403Z","dependency_job_id":null,"html_url":"https://github.com/jkroso/HTTP.jl","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/jkroso%2FHTTP.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkroso%2FHTTP.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkroso%2FHTTP.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkroso%2FHTTP.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jkroso","download_url":"https://codeload.github.com/jkroso/HTTP.jl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254130419,"owners_count":22019770,"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":["http","julia"],"created_at":"2025-05-14T11:23:17.701Z","updated_at":"2025-05-14T11:24:14.527Z","avatar_url":"https://github.com/jkroso.png","language":"Julia","readme":"# HTTP.jl\n\nA client and server side implementation of HTTP for Julia.\n\nTo use it you will need the [Kip](https://github.com/jkroso/Kip.jl) module system.\n\nThe client returns a `Response` object which contains all the meta data needed to parse the response data into a rich data type such as HTML nodes or JSON objects. Or because `Response` is also an IO, you can just work directly with the bytes stream.\n\n```Julia\n@use \"github.com/jkroso/HTTP.jl/client\" GET PUT\n\nread(GET(\"google.com\"), String) # a string of html\nwrite(\"google.html\", GET(\"google.com\")) # downloads to an html file\n\n@use \"github.com/jkroso/DOM.jl/html\"\ndom = parse(GET(\"google.com\")) # a DOM object\n\nwrite(PUT(\"gewgle.com\"), MIME(\"text/html\"), dom)\n```\n\nThis library also provides a `Session` type that keeps track of cookies, reuses sockets, and provides a ORM like API for interacting with HTTP servers\n\n```julia\n@use \"github.com/jkroso/HTTP.jl/client/Session\" Session\n\nhttpbin = Session(\"httpbin.org\")\nresponse = httpbin[\"/cookies/set?a=1\"]\nparse(MIME\"application/json\", response) == Dict(\"cookies\"=\u003eDict(\"a\"=\u003e1))\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkroso%2Fhttp.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjkroso%2Fhttp.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkroso%2Fhttp.jl/lists"}